Skip to content

Delete a collection

View .md
DELETE

Delete the collection and every item it holds, in every scope — the per-contact and per-conversation copies included. Returns immediately; the purge drains in batches and writes are refused while status is deleting.

Authorization

  • Authorizationheaderrequired

    Bearer YOUR_API_KEY. Create a key in the dashboard.

Path parameters

  • collectionstringrequired

    Collection name.

Responses

202Purge scheduled.
  • statusstringrequired
400Invalid collection name.
  • codestringrequired
  • messagestringrequired
  • detailsobject
401Unauthorized.
  • codestringrequired
  • messagestringrequired
  • detailsobject
404Collection not found.
  • codestringrequired
  • messagestringrequired
  • detailsobject