Skip to main content
DELETE
/
subscriptions
/
entitlements
/
{id}
Remove an entitlement
curl --request DELETE \
  --url https://api.billing.io/v1/subscriptions/entitlements/{id} \
  --header 'Authorization: Bearer <token>'
{
  "error": {
    "type": "authentication_error",
    "code": "api_key_invalid",
    "message": "The API key provided is invalid.",
    "param": null
  }
}
Remove an entitlement from a plan.
curl -X DELETE https://api.billing.io/v1/subscriptions/entitlements/ent_a1b2c3d4e5f6 \
  -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

id
string
required

The entitlement identifier (prefixed ent_)

Response

Entitlement removed