Delete collection

View as Markdown
**What:** Owner-only delete. The 3 default lists cannot be deleted. **Auth:** Bearer token required. **Path params:** | Param | Type | Required | Description | Example | |---|---|---|---|---| | id | string | yes | Collection ObjectId. | `66b0c1d2e3f4a5b6c7d8e9f5` | **Returns:** `data = { deleted: true, id }`.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

{collectionIdstringRequired

Response

OK
okboolean
dataobject

Errors

400
Bad Request Error
404
Not Found Error