Entitlements
Get subject entitlement value
This endpoint should be used for access checks and enforcement. All entitlement types share the hasAccess property in their value response, but multiple other properties are returned based on the entitlement type.
For convenience reasons, /value works with both entitlementId and featureKey.
⚠️ Deprecated: Use GET /api/v2/customers/{customerIdOrKey}/entitlements/{entitlementIdOrFeatureKey}/value instead.
get/api/v1/subjects/{subjectIdOrKey}/entitlements/{entitlementIdOrFeatureKey}/value
Path parameters
subjectIdOrKeystring required
entitlementIdOrFeatureKeystring required
Query parameters
timestring date-time
Example:2023-01-01T01:01:01.001Z
Response
The request has succeeded.
Example response
{
"hasAccess": true,
"balance": 100,
"usage": 50,
"totalAvailableGrantAmount": 100,
"config": "{ key: \"value\" }"
}