Delete a webhook endpoint
DELETE/api/v1/webhooks/{id}
DELETE /webhooks/{id}
curl -X DELETE 'https://www.unitpost.com/api/v1/webhooks/wh_123' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'User-Agent: my-app/1.0'Permanently delete a webhook endpoint and its delivery log. Deliveries stop immediately. The operation is idempotent — deleting an already-deleted endpoint still returns 204. To stop deliveries temporarily instead, set status via Update a webhook endpoint. Requires the webhooks:manage capability.
Parameters1 field
| Field | Type | Description |
|---|---|---|
idrequired | string · path | — |
204401403