Delete a project
What it does
Section titled “What it does”Permanently deletes a project and all of its groups, entries, and translations. Only the project owner can delete it.
Request
Section titled “Request”DELETE /api/v1/projects/{id}
| Auth | Required |
| Query parameters | None |
| Body | None |
Path parameters
Section titled “Path parameters”| Name | Type | Description |
|---|---|---|
id | string | Project id |
Headers
Section titled “Headers”Authorization: Bearer <your-api-key>Example
Section titled “Example”curl -sS -X DELETE https://collingo.app/api/v1/projects/clproj0123456789abcdefgh \ -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 project has been deleted.
Errors
Section titled “Errors”| Status | When |
|---|---|
401 | Missing or invalid API key (ERR_UNAUTHORIZED) |
403 | Not the owner (ERR_FORBIDDEN) |
404 | Project not found (ERR_PROJECT_NOT_FOUND) |
500 | Database or internal error |