Api

Delete Webhook Endpoint

DELETE
/v1/webhook-endpoints/{endpointId}

Unsubscribes: deletes the endpoint, its deliveries, and their attempt log. The events stay in the feed.

Authorization

WorkspaceApiKey
X-Api-Key<token>

Workspace-owned Better Auth API key of one environment (Sandbox or Live); it authorizes the Projects of that environment in its Workspace. A Project of the other environment returns 403 ENVIRONMENT_MISMATCH. Never expose it in the browser.

In: header

Path Parameters

endpointId*string
Match\S
Length1 <= length <= 512

Query Parameters

projectId*string
Match\S
Length1 <= length <= 512

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/webhook-endpoints/string?projectId=string"
{  "id": "string",  "success": true}