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

# Delete a template

`DELETE /templates/{id}`

Deletes a template in a workspace.

## Path parameters

- `id` string, required

## Response `200`

OK

- DeletedTemplateDTO
  - `id` string — The ID of the deleted template

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

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