---
title: "Delete an organization webhook endpoint"
description: "Delete the endpoint and its delivery log. `DELETE /api/v1/organizations/{id}/webhooks/{webhook_id}`"
url: https://www.unitpost.com/docs/platform/delete-organizations-id-webhooks-webhook-id
section: "Platform API reference"
updated: 2026-11-17
---
# Delete an organization webhook endpoint

`DELETE /api/v1/organizations/{id}/webhooks/{webhook_id}`

Delete the endpoint and its delivery log. Deliveries stop at once. Deleting one already gone still answers `204`. To pause deliveries instead, set `status` to `disabled`. Takes an organization key (`ok_live_…`) with `organizations:write`.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | The organization's id (`org_…`), from `GET /whoami` or Organization → API. |
| `webhook_id` | path | string | yes | The organization webhook endpoint's id (`wh_…`). |

## Responses

| Status | Description |
| --- | --- |
| 204 | Deleted. |
| 401 | Missing or invalid organization key (a workspace key is refused). |
| 403 | API access not approved for the organization, the key lacks the capability, or no User-Agent. |
| 404 | Not this key's organization, or not one of its webhook endpoints (a workspace's endpoint is a 404 here). |
| 429 | The organization's rate limit. |

## Example request

```bash
curl -X DELETE 'https://www.unitpost.com/api/v1/organizations/org_123/webhooks/wh_123' \
  -H 'Authorization: Bearer YOUR_ORG_KEY' \
  -H 'User-Agent: my-app/1.0'
```

## Links

- HTML reference (with Node.js, Python, Ruby, PHP, Laravel, Go, Java, Rust, .NET and CLI examples): https://www.unitpost.com/docs/platform/delete-organizations-id-webhooks-webhook-id
- OpenAPI 3.1 (full schemas): https://www.unitpost.com/api/v1/openapi.json
