Delete an entry
What it does
Section titled “What it does”Deletes an entry and its translations. This cannot be undone.
Request
Section titled “Request”DELETE /api/v1/entries/{id}
| Auth | Required |
| Query parameters | None |
| Body | None |
Path parameters
Section titled “Path parameters”| Name | Type | Description |
|---|---|---|
id | string | Entry id |
Headers
Section titled “Headers”Authorization: Bearer <your-api-key>Example
Section titled “Example”curl -sS -X DELETE https://collingo.app/api/v1/entries/clentry0123456789abcdefg \ -H "Authorization: Bearer <your-api-key>" \ -o /dev/null -w "%{http_code}\n"Response
Section titled “Response”204 No Content
Section titled “204 No Content”Empty body. The entry has been deleted.
Errors
Section titled “Errors”| Status | When |
|---|---|
401 | Missing or invalid API key (ERR_UNAUTHORIZED) |
403 | Insufficient role (ERR_FORBIDDEN) |
404 | Entry not found |
500 | Database or internal error |