Disable Webhook Endpoint
Webhook Endpoints
Disable Webhook Endpoint
Disable a webhook endpoint so it stops receiving deliveries
POST
Disable Webhook Endpoint
Disables a webhook endpoint so it stops receiving deliveries. No request body. Disabling is idempotent — repeating the call returns the same confirmation.
Disabled endpoints remain visible in List Webhook Endpoints with
Events created before the endpoint was disabled may still be delivered (and retried) after disabling; only new events stop matching the endpoint.
disabled_at set.
Path Parameters
string
required
Id of the owning customer (
cus_…).string
required
Id of the webhook endpoint (
wh_…).Response
A disable-confirmation object.string
Id of the endpoint (
wh_…).string
Always
webhook_endpoint.boolean
Always
true.