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

# Delete Webhook

> Remove a registered webhook endpoint

Delete a webhook endpoint. Yativo will stop delivering events to this URL immediately.

```
DELETE https://api.yativo.com/api/v1/business/webhook/{webhook_id}
```

## Path parameters

<ParamField path="webhook_id" type="string" required>
  The ID of the webhook to delete. Returned when the webhook was created.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X DELETE 'https://api.yativo.com/api/v1/business/webhook/wh-01abc123' \
    -H 'Authorization: Bearer YOUR_ACCESS_TOKEN'
  ```

  ```javascript Node.js theme={null}
  const response = await fetch(
    `https://api.yativo.com/api/v1/business/webhook/${webhookId}`,
    {
      method: 'DELETE',
      headers: { 'Authorization': `Bearer ${token}` },
    }
  );
  const data = await response.json();
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "status": "success",
    "status_code": 200,
    "message": "Webhook deleted successfully"
  }
  ```

  ```json Not found theme={null}
  {
    "status": "error",
    "status_code": 404,
    "message": "Webhook not found"
  }
  ```
</ResponseExample>
