Skip to content

List an org’s entitlement overrides

GET
/entitlements/admin/orgs/{orgId}/overrides
curl --request GET \
--url https://api.sloose.com/entitlements/admin/orgs/org_9f3c/overrides \
--header 'Authorization: Bearer <token>'

Backoffice route: a staff session, or ADMIN_TOKEN; never a customer’s session. Includes revoked overrides, oldest first.

orgId
required

The org id.

string
Example
org_9f3c

The org id.

Every override, revoked ones included.

Media typeapplication/json
object
overrides
required
Array<object>
object
id
required
string
key
required
string
value
required
Any of:
number
reason
required
string
grantedBy
required
string
expiresAt
required
string | null
key
additional properties
Examplegenerated
{
"overrides": [
{
"id": "example",
"key": "example",
"value": 1,
"reason": "example",
"grantedBy": "example",
"expiresAt": "example"
}
]
}

A bearer that is neither the token nor a live session (code: AUTH_REQUIRED).

Media typeapplication/json

The error envelope every non-2xx answer uses.

object
error
required

Human-readable explanation.

string
code

Machine-readable reason. Absent on a few legacy 400s.

string
key
additional properties
Examplegenerated
{
"error": "example",
"code": "example"
}

A customer’s session, an API token, or no bearer at all — not staff, and not the ADMIN_TOKEN (code: ADMIN_REQUIRED).

Media typeapplication/json

The error envelope every non-2xx answer uses.

object
error
required

Human-readable explanation.

string
code

Machine-readable reason. Absent on a few legacy 400s.

string
key
additional properties
Examplegenerated
{
"error": "example",
"code": "example"
}