Skip to main content
POST
/
plan-tiers
/
check-feature
Error
A valid request URL is required to generate request examples
{
  "allowed": true,
  "reason": "<string>",
  "current_usage": 0,
  "limit": 0
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Input for checking if a feature is accessible

feature
enum<string>
required

Feature name for plan tier gating

Available options:
sso,
scim,
audit_logs,
custom_domains,
end_users,
seats
current_usage
integer

Current usage to check against limit

Required range: -9007199254740991 <= x <= 9007199254740991

Response

OK

Result of checking feature access for an organization

allowed
boolean
required

Whether access to the feature is allowed

reason
string

Reason if access is denied

current_usage
integer

Current usage count for limited features

Required range: -9007199254740991 <= x <= 9007199254740991
limit
integer

Maximum allowed for limited features

Required range: -9007199254740991 <= x <= 9007199254740991