Entitlements V2

Create Grant

Grants an entitlement to a user/device. Requires entitlements:write scope.

post/v2/entitlements/{id}/grants

Path parameters

idstring required

Entitlement ID

Entitlement ID

Request body

user_idstring

User ID to grant the entitlement to

device_idstring required

Device ID to grant the entitlement to

expires_atstring

ISO 8601 timestamp of when the grant should expire. Omit for permanent grants

reasonstring

Reason for granting the entitlement

Response

Success

idstring required

Unique identifier for the grant

object'entitlement_grant' required

Object type, always entitlement_grant

entitlementstring required

ID of the entitlement being granted

entitlement_identifierstring required

Identifier string of the entitlement being granted

user_idstring nullable required

User ID the grant applies to, or null

device_idstring required

Device ID the grant applies to

expires_atstring nullable required

ISO 8601 timestamp of when the grant expires, or null for permanent grants

reasonstring nullable required

Reason for the grant, or null

granted_bystring required

Identifier of who granted this entitlement

granted_atstring required

ISO 8601 timestamp of when the grant was created

Changes

No recorded changes to this endpoint across all 1 revision of this API.