Skip to main content
DELETE
/
webhooks
/
{webhook_id}
Delete a webhook endpoint
curl --request DELETE \
  --url https://api.billing.io/v1/webhooks/{webhook_id} \
  --header 'Authorization: Bearer <token>'
{
  "error": {
    "type": "authentication_error",
    "code": "api_key_invalid",
    "message": "The API key provided is invalid.",
    "param": null
  }
}
Delete a webhook endpoint. It will stop receiving events immediately.
curl -X DELETE https://api.billing.io/v1/webhooks/we_a1b2c3d4e5f6a7b8c9d0e1f2 \
  -H "Authorization: Bearer $BILLING_API_KEY"

Authorizations

Authorization
string
header
required

Use your secret API key as a Bearer token. Keys are prefixed: sk_live_ (production) or sk_test_ (sandbox).

Path Parameters

webhook_id
string
required

The webhook endpoint identifier (prefixed we_)

Response

Webhook endpoint deleted