DELETE
/
webhook_endpoints
/
{webhook_endpoint}
Delete a webhook subscription
curl --request DELETE \
  --url https://api.chargeapi.co/v1/webhook_endpoints/{webhook_endpoint} \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "id": "<string>",
  "object": "webhook_endpoint",
  "deleted": true
}

Path Parameters

webhook_endpoint
string
required

ID of the webhook endpoint to delete.

Body

application/json · object

Response

Returns the deleted Webhook Endpoint object, including a deleted property set to true.

The response is of type object.