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

# Delete a template

`DELETE /v1/templates/{id}`

## Request

- Base URL: `https://api.volanea.com`
- URL: `https://api.volanea.com/v1/templates/{id}`
- Auth: HTTP bearer

Deletes the template and its entire version history.

Messages already sent from it are unaffected: the rendered body is stored on each email row, so the send log stays readable after the template is gone.

**Nothing checks for references first.** A campaign or workflow step still naming this `templateId` is not updated and not warned about — it fails at send time with `send_failed` and `details[0].code` of `template_not_found`. Check what points at a template before removing it.

## Path parameters

- `id` string, required

## Response `200`

Deleted.

- object
  - `success` boolean, required

## Other responses

- `401`: Missing or invalid API key.
- `404`: Not found.
- `422`: Request validation failed (code `validation_error`, 422).

---

[API](https://skmtc.dev/volanea/apis/volanea-api.md) · [All operations](https://skmtc.dev/volanea/apis/volanea-api/llms.txt) · [OpenAPI document](https://skmtc.dev/volanea/apis/volanea-api/revisions/9e187ae84fda?raw)
