Skip to content

Delete a Collection

Permanently deletes a collection, all its fields, and all its content entries.

DELETE /api/projects/{projectId}/collections/{slug}

Request

Terminal window
curl -X DELETE https://your-domain.com/api/projects/{projectId}/collections/posts \
-H "Authorization: Bearer YOUR_ADMIN_TOKEN"

Status codes

StatusDescription
204Deleted
404Collection not found