Create User

Creates a User.

Headers

AuthorizationstringRequired

Basic authentication of the form Basic <username:password>.

Request

This endpoint expects an object.
namestringRequired
emailstringRequired
roleenumOptional

"student" or "teacher". If unset, a home user will be created, unable to join classrooms.

Allowed values:
preferredLanguagestringOptional
heroConfigobjectOptional
birthdaystringOptional

Response

This endpoint returns an object.
_idstring or null
emailstring or null
namestring or null
slugstring or null
rolestring or null
Usually either 'teacher' or 'student'
statsobject or null
oAuthIdentitieslist of objects or null
subscriptionobject or null
licenseobject or null