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

# Delete Webhook

> Delete an endpoint

## Delete Webhook

Deletes an endpoint and its delivery history. Nothing more is sent to it. This cannot be undone.

### Request

**id** `integer` *required*

The ID of the endpoint

```bash theme={null}
curl -X DELETE "https://postsyncer.com/api/v1/webhooks/42" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
```

### Response

```json theme={null}
{ "message": "Webhook deleted." }
```

Needs the `webhooks:delete` permission.


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