---
title: "Delete a template"
method: DELETE
path: "/v1/documents/templates/{id}"
tags: ["Documents"]
---

# Delete a template

`DELETE /v1/documents/templates/{id}`

Delete a template.

## Path parameters

- `id` string, required

## Response `200`

- DocumentTemplate
  - `id` string — A unique identifier
  - `name` string, required — The template name
  - `slug` string, required — The template slug
  - `template` string, required — The template content
  - `active` boolean — disable template flag.
  - `description` string — The template description
  - `metadata` object — The template metadata
  - `options` object — The template rendering options
  - `related_object` 'shipment' | 'order' | 'other' — The template related object
  - `object_type` string — Specifies the object type

## Other responses

- `404`
- `409`
- `500`

---

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