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

---

[API](https://skmtc.net/sequenzy/apis/sequenzy-api.md) · [All operations](https://skmtc.net/sequenzy/apis/sequenzy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sequenzy/sequenzy-api/versions/af1cf9620482/schema)
