# Delete a Webhook

`DELETE /api/webhooks/{id}`

Deletes the webhook together with its delivery logs and queued jobs.

- **Group:** Webhooks
- **Since:** v3.0.0
- **Authentication:** `authtoken` header, created under Setup > API > API Management
- **HTML version:** /apiguide/webhooks/delete-webhook/

## Headers

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `authtoken` | String | **required** | Authentication token, generated from admin area |

## Example request

```bash
curl -X DELETE "https://yoursite.com/api/webhooks/123" \
  -H "authtoken: YOUR_API_TOKEN"
```

## Success response

### Success-Response:

```json
HTTP/1.1 200 OK
{
  "status": true,
  "message": "Webhook deleted successfully"
}
```

## Error responses

### Error-Response:

```json
HTTP/1.1 404 Not Found
{
  "status": false,
  "message": "Webhook not found"
}
```

---

Perfex CRM REST API by Themesic Interactive. Full reference: /apiguide/
