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

# Delete a webhook endpoint

> DELETE /v1/webhook-endpoints/{webhookEndpointId} disables an endpoint and keeps its delivery history.

```
DELETE /v1/webhook-endpoints/{webhookEndpointId}
```

**Scope:** `webhooks:manage`  ·  **Idempotency-Key:** optional

<ParamField path="webhookEndpointId" type="string" required>The endpoint.</ParamField>

```bash theme={null}
curl -X DELETE https://api.stg.cleo-pay.com/v1/webhook-endpoints/3c1f9e2d-4b5a-4c6d-8e7f-9a0b1c2d3e4f \
  --header "Authorization: Bearer $CLEO_API_KEY"
```

## Response

`204` with no body. The endpoint stops receiving events. Its delivery history is kept.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.