Grant a student access to a piece of content
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 '{ "studentId": "string", "contentId": "string", "expiresAt": "string" }'{ "id": "string", "studentId": "string", "firstName": "string", "lastName": "string", "studentEmail": "string", "content": { "id": "string", "type": "course", "title": "string" }, "status": "active", "grantedAt": "string", "expiresAt": "string", "source": "string"}