v50

latestOpenAPI 3.1.0raw.githubusercontent.com2026-03-211931021.7 MB
Document Templates

Delete a Document Template

In ServiceM8, deleting a record sets its active field to 0. Inactive records are still accessible on the API, but are hidden in the UI. Inactive records can be restored by setting their active field to 1.

OAuth Scope

This endpoint requires the following OAuth scope manage_templates.

delete/documenttemplate/{uuid}.json

Path parameters

uuidstring uuid required

UUID of the Document Template

Response

Document Template successfully archived (soft deleted)

errorCodenumber
messagestring

Example response

{
  "message": "OK"
}