# Delete a webhook

Source: https://ampost.io/docs/api/webhooks-delete · Full reference: https://ampost.io/llms-full.txt

`DELETE /api/webhooks/endpoints/{webhookId}` · MCP tool `webhooks_delete` · scope `webhooks:write` · rate limit `createPost` · success `200`

Delete a webhook and its delivery log for good. Pending deliveries are not sent. To pause it instead, use webhooks_update with `enabled: false`. 404 WEBHOOK_NOT_FOUND for an id that is not yours. Webhooks see every platform set, so keys restricted to some sets get 403 PLATFORM_SET_NOT_ALLOWED.

| Field | In | Type | Required | Description |
|---|---|---|---|---|
| `webhookId` | path | string | yes | Webhook id (UUID): `id` from webhooks_list or webhooks_create |

Example response:

```json
{
  "id": "0b6e4d2a-9c3f-4e1b-8a7d-5f2c1e9b3d40",
  "deleted": true
}
```
