Documents

Document Template Delete

DELETE
/documents/template/{documentTemplateGuid}/delete

Soft-deletes a document template by its GUID.

Authorization

AuthorizationBearer <token>

JWT token to authenticate the request.

In: header

X-Api-Key<token>

API key, sent as a request header.

In: header

Path Parameters

documentTemplateGuid*string

GUID of the document template to delete.

Formatuuid

Response Body

application/json

application/json

application/json

curl -X DELETE "https://example.com/documents/template/7c9e6679-7425-40de-944b-e07fc1f90ae7/delete"
{  "result": {    "data": {      "documentTemplateGuid": "7c9e6679-7425-40de-944b-e07fc1f90ae7",      "message": "DocumentTemplate deleted successfully."    },    "statusCode": 200,    "message": "OK"  },  "origin": "https://app.example.com",  "dateTime": "2026-07-14T09:30:00.0000000+00:00",  "operationId": "0HN7GK9M4T2R5"}
{  "code": "DATA_NAME_REQUIRED",  "message": "Name is required."}
Empty
Empty
{  "code": "GET_DATA_SOURCE_ERROR",  "message": "An unexpected error occurred.",  "eventId": "a1b2c3d4"}