Grant a student access to a piece of content
POST /api/entitlements. Grant a student access to a piece of content. Headless LMS Entitlements API reference.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/entitlements" \ -H "Content-Type: application/json" \ -d '{ "orgUserId": "string", "expiresAt": null }'{ "orgId": "string", "id": "string", "orgUserId": "string", "bundleId": "string", "contentId": "string", "status": "active", "source": "string", "grantedAt": "2019-08-24T14:15:22Z", "expiresAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}