Delete a Collection
Permanently deletes a collection, all its fields, and all its content entries.
DELETE /api/projects/{projectId}/collections/{slug}Request
curl -X DELETE https://your-domain.com/api/projects/{projectId}/collections/posts \ -H "Authorization: Bearer YOUR_ADMIN_TOKEN"Status codes
| Status | Description |
|---|---|
204 | Deleted |
404 | Collection not found |