Delete an organization webhook endpoint

Delete an organization webhook endpoint

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

DELETE /organizations/{id}/webhooks/{webhook_id}
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'

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.

Parameters2 fields
FieldTypeDescription
idrequiredstring · pathThe organization's id (`org_…`), from `GET /whoami` or Organization → API.
webhook_idrequiredstring · pathThe organization webhook endpoint's id (`wh_…`).
204401403404429

Search docs and guides

Search the docs and product guides.