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