Retrieve detailed information for a specific route by its unique ID, including method, path, policy type, and associated rules.
Entitlements Overview
The Entitlements Engine is powered by the isEntitledTo query and is designed to manage and control user access within your application. It enables you to grant users specific roles, permissions, feature access, and more, providing a flexible framework for access management.
Below is an overview of API endpoints relevant to managing features, plans, feature flags, and API access control within your application. All endpoints are classified as Management Endpoints, requiring environment-level authorization and offering comprehensive control over entitlement resources.
Download OpenAPI description
Languages
Servers
EU Region
https://api.frontegg.com/entitlements/
US Region
https://api.us.frontegg.com/entitlements/
CA Region
https://api.ca.frontegg.com/entitlements/
AU Region
https://api.au.frontegg.com/entitlements/
Frontegg sub-domain for use with user tokens
https://{domain}.frontegg.com/entitlements/
- EU Regionhttps://api.frontegg.com/entitlements/resources/routes/v1/{id}
- US Regionhttps://api.us.frontegg.com/entitlements/resources/routes/v1/{id}
- CA Regionhttps://api.ca.frontegg.com/entitlements/resources/routes/v1/{id}
- AU Regionhttps://api.au.frontegg.com/entitlements/resources/routes/v1/{id}
- Frontegg sub-domain for use with user tokenshttps://app-xxx.frontegg.com/entitlements/resources/routes/v1/{id}
- cURL
- JavaScript
- Python
- GO
- Payload
curl -i -X GET \
'https://api.frontegg.com/entitlements/resources/routes/v1/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
application/json
{ "id": "b796239c-6641-4cf3-9ff3-658ad4049131", "method": "GET", "path": "/users", "priority": 100, "description": "This is an example route", "policyType": "allow", "rules": [ { … } ] }
- EU Regionhttps://api.frontegg.com/entitlements/resources/routes/v1/{id}
- US Regionhttps://api.us.frontegg.com/entitlements/resources/routes/v1/{id}
- CA Regionhttps://api.ca.frontegg.com/entitlements/resources/routes/v1/{id}
- AU Regionhttps://api.au.frontegg.com/entitlements/resources/routes/v1/{id}
- Frontegg sub-domain for use with user tokenshttps://app-xxx.frontegg.com/entitlements/resources/routes/v1/{id}
- cURL
- JavaScript
- Python
- GO
- Payload
curl -i -X DELETE \
'https://api.frontegg.com/entitlements/resources/routes/v1/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- EU Regionhttps://api.frontegg.com/entitlements/resources/routes/v1/{id}
- US Regionhttps://api.us.frontegg.com/entitlements/resources/routes/v1/{id}
- CA Regionhttps://api.ca.frontegg.com/entitlements/resources/routes/v1/{id}
- AU Regionhttps://api.au.frontegg.com/entitlements/resources/routes/v1/{id}
- Frontegg sub-domain for use with user tokenshttps://app-xxx.frontegg.com/entitlements/resources/routes/v1/{id}
- cURL
- JavaScript
- Python
- GO
- Payload
curl -i -X PATCH \
'https://api.frontegg.com/entitlements/resources/routes/v1/{id}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"method": "GET",
"path": "/users",
"policyType": "allow",
"description": "This is an example route"
}'Response
application/json
{ "id": "b796239c-6641-4cf3-9ff3-658ad4049131", "method": "GET", "path": "/users", "priority": 100, "description": "This is an example route", "policyType": "allow", "rules": [ { … } ] }