PostZen
Webhooks

Delete a webhook

DELETE
/v1/webhooks/{webhookId}

Deletes an endpoint and stops new event fan-out. Retained delivery logs remain available until their retention period ends.

Authorization

bearerAuth
AuthorizationBearer <token>

PostZen API key.

In: header

Path Parameters

webhookId*string

PostZen webhook endpoint id.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/webhooks/string"
{  "message": "string"}
{  "error": "Unauthorized"}
{  "error": "API key requires read_write permission"}
{  "error": "Not found"}
{  "error": "Failed to create post"}