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

# Delete Webhook

> Permanently remove a webhook and all its delivery history.

## Authentication

Requires an API key in the `Authorization` header.

```bash theme={"dark"}
Authorization: Bearer YOUR_API_KEY
```

## Request

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

### Example request

```bash theme={"dark"}
curl -X DELETE https://encrata.com/api/webhooks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{"id": "360cb300-d885-4c18-af2c-d259f936bb38"}'
```

## Response

### Example response

```json theme={"dark"}
{
  "status": "deleted"
}
```
