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

# Delete Webhook

> Permanently remove a webhook registration and stop event delivery 🚥

Permanently remove a webhook registration. Once deleted, Connectly stops sending events for that topic to the registered address.

<Warning>
  Deletion is immediate and irreversible. If you only need to change the endpoint URL, use [Update webhook](/webhooks/update-webhook) instead to avoid a gap in event delivery.
</Warning>

## Endpoint

```json theme={null}
DELETE https://api.connectly.ai/v1/businesses/{businessId}/delete/webhooks/{webhookId}
```

Retrieve the `webhookId` from the [Get webhooks](/webhooks/get-webhooks) response.

## Example request

```bash theme={null}
curl --request DELETE \
  --url https://api.connectly.ai/v1/businesses/{businessId}/delete/webhooks/{webhookId} \
  --header 'X-API-Key: YOUR_API_KEY'
```

## Response

A successful deletion returns HTTP `200` with an empty JSON object.

```json theme={null}
{}
```

## Error responses

| Status | Meaning                                   |
| ------ | ----------------------------------------- |
| `401`  | Missing or invalid `X-API-Key`.           |
| `404`  | The specified `webhookId` does not exist. |
| `500`  | Internal server error.                    |
