Api
Delete Webhook Endpoint
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
\SLength
1 <= length <= 512Query Parameters
projectId*string
Match
\SLength
1 <= length <= 512Response 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}