Upsert entitlement
UpsertEntitlement
Upserts a new entitlement or updates an existing entitlement.
Note: If you wish to invalidate an existing entitlement, set the expires_at
field to any moment in the past.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The ID of the user who is entitled to access the content. The user ID must be contained in the JWT token that the user authenticates with on the content-delivery API.
The offer that the user is entitled to access. For more information, see Offer
.
The time at which the entitlement is no longer valid. If not provided, the entitlement will not expire.
A string representing the type of the source of the entitlement. For example, cleeng
.
An identifier of the source of the entitlement. For example, the Cleeng offer ID.
Response
Entitlements represent an end-users permission to access event or creative work content.