Update User

PUT

Modify name of a User

Path parameters

handlestringRequired

The document’s _id or slug.

Request

This endpoint expects an object.
namestringRequired

Set to new name string

birthdaystringOptional

Set the birthday

Response

This endpoint returns an object.
_idstringOptional
emailstringOptional
namestringOptional
slugstringOptional
rolestringOptional

Usually either ‘teacher’ or ‘student’

statsobjectOptional
oAuthIdentitieslist of objectsOptional
subscriptionobjectOptional
licenseobjectOptional