创建用户

创建一个User(“用户”)

Headers

AuthorizationstringRequired

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

Request

This endpoint expects an object.
namestringRequired
emailstringRequired
roleenumOptional

"student" 或者 "teacher"

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

通常这是指"teacher"(“老师”)或者"student"(“学生”)

statsobject or null
oAuthIdentitieslist of objects or null
subscriptionobject or null
licenseobject or null