# Delete a webhook

`DELETE https://api.signwithsigil.com/v1/webhooks/{uid}`

Remove an endpoint and its delivery log. Pending deliveries to it are dropped.

## Authorization

Header `Authorization: Bearer sgk_…` (or `X-Api-Key: sgk_…`).

## Path parameters

- `uid` (string, required): The webhook's 8-character id. Not case-sensitive.

## Response

`204 No Content`: Deleted. There is no body.

## Errors

| Status | When |
|---|---|
| 401 | The API key is missing, wrong or revoked. |
| 403 | The account's plan does not include API access (Pro and Business do). |
| 404 | No webhook with that id belongs to your account. |

Every error body is `{ "error": "message" }`.

## Example request

```bash
curl -X DELETE https://api.signwithsigil.com/v1/webhooks/W8NQ3KTE \
  -H "Authorization: Bearer $SIGIL_API_KEY"
```
