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

# Delete a template

`DELETE /api/v1/templates/{id}`

## Request

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

Existing reviews are kept; new reviews using the slug will be rejected.

## Response `200`

Deleted

- object
  - `object` 'template'
  - `id` string
  - `deleted` true

## Other responses

- `401`: 401. Missing or invalid API key.
- `404`: 404. Resource not found.

---

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