---
title: "Delete a Document Template"
method: DELETE
path: "/documenttemplate/{uuid}.json"
tags: ["Document Templates"]
---

# Delete a Document Template

`DELETE /documenttemplate/{uuid}.json`

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`.

## Path parameters

- `uuid` string, uuid, required

## Response `200`

Document Template successfully archived

- Result
  - `errorCode` number
  - `message` string

## Other responses

- `400` — Bad Request
- `default` — Unexpected error

## Changes

- **2025-08-10** `6b27ace1e2a6` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/servicem8/apis/servicem8-api/changes/documenttemplate/:uuid.json/delete.md)

---

[API](https://skmtc.dev/servicem8/apis/servicem8-api.md) · [All operations](https://skmtc.dev/servicem8/apis/servicem8-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/servicem8/servicem8-api/revisions/e1be081fa316/schema)
