Revoke or reinstate an entitlement
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X PATCH "https://example.com/api/entitlements/string" \ -H "Content-Type: application/json" \ -d '{ "status": "active" }'{ "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"}{ "error": "string", "message": "string"}