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

# Delete a template

`DELETE /templates/{id}`

Delete a template.

## Path parameters

- `id` integer, required

## Response `204`

The template was deleted successfully.

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `default` — Unexpected error

---

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