Skip to content
TALA
Esc
navigateopen⌘Jpreview

Delete a collection by its ID

DELETE/api/collections/{id}
Authorization
AuthorizationBearer token (JWT) · headerrequired
Path parameters
idstringrequired
Header parameters
x-organization-idstring
Target organization id. Defaults to the caller's personal organization when omitted.
Responses
200OK
any
400Bad Request
any
401Unauthorized
any
404Not Found
any
500Internal Server Error
any
Try it
Server
Authorization
Parameters
Request
curl -X DELETE "http://localhost:8000/api/collections/string" \
  -H "Authorization: Bearer YOUR_TOKEN"
Response
{
  "message": "Collection deleted successfully"
}