---
title: "Delete a capture hook"
method: DELETE
path: "/v1/hooks/{id}"
tags: ["hooks"]
---

# Delete a capture hook

`DELETE /v1/hooks/{id}`

## Request

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

Deletes the hook and all captured requests immediately; the ingest URL answers 404 afterwards.

## Path parameters

- `id` string, uuid, required

## Response `204`

Hook deleted; its captured requests are gone.

## Other responses

- `401`: Missing bearer token, malformed key, or unknown/revoked/invalid API key.
- `404`: No such hook on this account.
- `429`: Per-key rate limit exceeded. `Retry-After` says when the next request will be admitted; the RateLimit headers name the bucket that refused (`requests` or `creates`) with `r=0`.
- `500`: Unexpected server error. `detail` is null — internals are never leaked.

---

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