comecerodocs

Remove an entitlement override

DELETE
/customers/{customer_id}/entitlement_overrides/{override_id}

Removes an active override: the customer's plan value is back, and entitlement:changed fires when effective access changes (cause override). The override is kept with status removed, for audit. Removing one that is already removed or expired changes nothing and answers the same. Secret and trusted tokens may call it; a limited token may not (403).

Authorization

headerAuthorizationBearer <token>

A secret, trusted or limited token. See Authentication.

Path Parameters

customer_id*string

The Comecero customer id.

override_id*string

The override id.

Response Body

Success.

application/json
  1. response

One feature given to one customer in place of what their plans give, until it expires or you remove it. value: false takes the feature away. Removed and expired overrides are kept, for audit.

object?string

Always entitlement_override.

override_id?string

eo_ plus 32 characters.

customer_id?string

The Comecero customer id.

feature_key?string

The feature's key.

value?|

boolean features, true. number features, the value as a decimal string. Any type, false takes the feature away. Left out when limit or unlimited is set.

limit?string

Metered features. The limit in each reset window, as a decimal string. Left out when not set.

unlimited?boolean

number and metered features. No limit. Left out when not set.

expires_at?|

When it stops and the plan's value is back. Null means it stays until you remove it.

Formatdate-time
reason?string

Why the customer has it.

created_by?string

The user behind the token that made it, or the token.

date_created?string

When it was made.

Formatdate-time
status?string

Only an active override applies.

Value in"active""removed""expired"
date_removed?string

When it was removed. Left out unless removed.

Formatdate-time
removed_by?string

Who removed it. Left out unless removed.

test?boolean

Test or live.

Example Request
curl -X DELETE 'https://api.comecero.com/api/v1/customers/string/entitlement_overrides/string'
Example Response
{  "object": "entitlement_override",  "override_id": "eo_9b2e6c1d4a7f4e3b8c5d0a1f2e3d4c5b",  "customer_id": "0091304300408CuoxY9Pf3",  "feature_key": "api_calls",  "limit": "50000",  "expires_at": "2026-12-31T23:59:59Z",  "reason": "Launch promotion agreed by sales",  "created_by": "US0012345678",  "date_created": "2026-11-15T10:00:00Z",  "status": "removed",  "date_removed": "2026-11-20T09:30:00Z",  "removed_by": "US0012345678",  "test": true}