# Disable a webhook endpoint

> Stops new and queued deliveries for this endpoint. (DELETE /v1/webhooks/{id})

Source: https://sightradar.com/docs/api/webhooks/disable-a-webhook-endpoint

Stops new and queued deliveries for this endpoint. Historical delivery
records remain available for audit and batch results remain pollable.
Repeating the request is idempotent for the endpoint owner.

### Example request

```bash
curl -X DELETE "https://api.sightradar.com/v1/webhooks/$ID" \
  -H "Authorization: Bearer $SR_API_KEY"
```

### Parameters

| Name              | In   | Type     | Description |
| ----------------- | ---- | -------- | ----------- |
| `id` **required** | path | `string` |             |

### Response body

| Field                 | Type         | Description |
| --------------------- | ------------ | ----------- |
| `webhook_endpoint_id` | `string`     |             |
| `status`              | `"disabled"` |             |

### Status codes

| Status | Meaning                                      |
| ------ | -------------------------------------------- |
| `200`  | Endpoint disabled.                           |
| `401`  | Missing or invalid API key.                  |
| `403`  | Read-only accounts cannot disable endpoints. |
| `404`  | Resource not found.                          |
