Deskhero Developer Hub
Back to deskhero.com
Templates

Delete

Soft-deletes the template: the row survives but drops out of every read, and nothing that pointed at it is rewritten, so deleting an auto reply just stops any reply going out for the groups it covered. A User's last remaining signature cannot be deleted, and deleting another User's signature is refused unless the caller is a workspace owner or admin. Deleting an auto reply takes the same rights as creating one: workspace owner or admin, or group admin on every group the auto reply covers.

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

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