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

# Delete template

`DELETE /templates/{templateId}`

Deletes an unused email template. Templates used by campaigns, sequences, or transactional emails cannot be deleted.

## Path parameters

- `templateId` string, required

## Response `200`

Template deleted

- object
  - `success` boolean
  - `message` string
  - `templateId` string

## Other responses

- `400` — Template is still in use
- `401` — Unauthorized
- `404` — Template not found

## Changes

- **2026-08-02** `36f92fc0caa2` — 3 breaking
  - the response property `success` became optional for the status `400`
  - the response property `success` became optional for the status `401`
  - the response property `success` became optional for the status `404`
- **2026-05-11** `ee7b7111c55b` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/sequenzy/apis/sequenzy-api/changes/templates/:templateId/delete.md)

---

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