Users

Grant User License

PUT
Grants a user access to the "Classroom" version up to a certain time. Sets their role to "student".

Path parameters

handlestringRequired

The document’s _id or slug.

Request

This endpoint expects an object.
ends
stringRequired

Response

This endpoint returns an object
_id
stringOptional
email
stringOptional
name
stringOptional
slug
stringOptional
role
stringOptional
Usually either 'teacher' or 'student'
stats
objectOptional
oAuthIdentities
list of objectsOptional
subscription
objectOptional
license
objectOptional