---
title: "Delete a template hook"
method: DELETE
path: "/v1/template-hooks/{key}"
tags: ["Template Hooks"]
---

# Delete a template hook

`DELETE /v1/template-hooks/{key}`

Delete a template hook. A template hook attached to a template cannot be deleted.

## Path parameters

- `key` string, required

## Response `200`

Successful response

## Other responses

- `400` — Bad request

---

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