cURL
curl --request GET \ --url https://api.getlago.com/api/v1/plans/{code}/entitlements/{feature_code} \ --header 'Authorization: Bearer <token>'
{ "entitlement": { "code": "seats", "name": "Number of seats", "description": "Number of users of the account", "privileges": [ { "code": "max", "name": "Maximum", "value_type": "integer", "config": {}, "value": 10 }, { "code": "max_admins", "name": "Max Admins", "value_type": "integer", "config": {}, "value": 5 }, { "code": "root", "name": "Allow root user", "value_type": "boolean", "config": {}, "value": true }, { "code": "provider", "name": "SSO Provider", "value_type": "select", "value": "google", "config": { "select_options": [ "google", "okta" ] } } ] } }
This endpoint retrieves a specific entitlement for a plan.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Code of the existing plan.
"startup"
Code of the existing feature.
"seats"
Entitlement
Show child attributes
Was this page helpful?