Deskhero Developer Hub
Back to deskhero.com
Categories

Delete

Soft deletes one category, but only when nothing depends on it: the call is refused while the category still has child categories or any knowledge base article assigned to it. Nothing is reassigned automatically, the children and articles have to be moved or removed first.

DELETE /api/{tenant:minlength(2)}/v{version:apiVersion}/categories/{id}
Authorisation
Minimum role: ADMIN

Request arguments

Name Type Source
idInt32
Request body example

Response

Status
200 (OK)
Type
DTO_acknowledgement
Wrapper
DTO_response_wrap
Other statuses
400 (BadRequest), 403 (Forbidden)
Response body example
DTO_acknowledgement
NameTypeReadOnlyDescription
messageStringMessage

Generated Aug 4, 2026 18:37