Delete a collection
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
AuthorizationheaderrequiredBearer YOUR_API_KEY. Create a key in the dashboard.
Path parameters
collectionstringrequiredCollection name.
Responses
202Purge scheduled.
statusstringrequired
400Invalid collection name.
codestringrequiredmessagestringrequireddetailsobject
401Unauthorized.
codestringrequiredmessagestringrequireddetailsobject
404Collection not found.
codestringrequiredmessagestringrequireddetailsobject