Delete a group
What it does
Section titled “What it does”Deletes a group and cascades to all nested sub-groups and entries (including their translations). This cannot be undone.
Request
Section titled “Request”DELETE /api/v1/groups/{id}
| Auth | Required |
| Query parameters | None |
| Body | None |
Path parameters
Section titled “Path parameters”| Name | Type | Description |
|---|---|---|
id | string | Group id |
Headers
Section titled “Headers”Authorization: Bearer <your-api-key>Example
Section titled “Example”curl -sS -X DELETE https://collingo.app/api/v1/groups/clgroupaaaaaaaaaaaaaaaaaa \ -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 group and its descendants have been deleted.
Errors
Section titled “Errors”| Status | When |
|---|---|
401 | Missing or invalid API key (ERR_UNAUTHORIZED) |
403 | Insufficient role (ERR_FORBIDDEN) |
404 | Group not found |
500 | Database or internal error |