> ## Documentation Index
> Fetch the complete documentation index at: https://docs.drin.run/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a webhook

> DELETE /v1/webhooks/{id} — permanently remove a webhook endpoint and stop all deliveries to it.

Permanently remove an endpoint. Deliveries to it stop immediately and its signing secret is destroyed.

**`DELETE /v1/webhooks/{id}`**

## Path parameters

<ParamField body="id" type="string" required>
  The webhook endpoint id to delete.
</ParamField>

<Warning>
  **Irreversible.** The endpoint and its signing secret are gone for good. To temporarily stop deliveries while keeping the secret, send `{ "enabled": false }` to [update](/api-reference/webhooks/update) instead.
</Warning>

## Request

<CodeGroup>
  ```bash cURL theme={null}
  curl -X DELETE https://api.drin.run/v1/webhooks/wh_3kQ9p2 \
    -H "Authorization: Bearer $DRIN_API_KEY"
  ```

  ```typescript Node.js theme={null}
  import { DrinClient } from "@drin00/sdk";

  const drin = new DrinClient({ apiKey: process.env.DRIN_API_KEY });

  await drin.webhooks.delete("wh_3kQ9p2");
  ```
</CodeGroup>

## Response

Returns `204 No Content` with an empty body on success. An id that is unknown or not visible to this project returns `404 not_found`.
