Sample - Stripe API
DELETE/v1/webhook_endpoints/{webhook_endpoint}

Delete a webhook endpoint

Deletes the webhook endpoint identified by its ID. Use this operation when you no longer want the endpoint to receive event notifications. The response confirms that the webhook endpoint was deleted.

  • RetriesRetries up to 2×, 500ms backoff, 30s timeout.

1 parameter
webhook_endpointstringrequired
The unique identifier of the webhook endpoint to delete. Must be no more than 5000 characters.

2 status codes
200Returns a deleted-object response containing the endpoint's unique identifier, the `webhook_endpoint` object type, and `deleted: true`.
deletedbooleanrequired
Always true for a deleted object
Allowed:true
idstringrequired
Unique identifier for the object.
objectstringrequired
String representing the object's type. Objects of the same type share the same value.
Allowed:webhook_endpoint
defaultReturned when the API reports an error; the response contains an `error` object with a required `type`.
errorobjectrequired

Error handling

The webhook_endpoint identifier must be no more than 5000 characters. Supply the identifier of the webhook endpoint you want to remove.