创建用户

创建一个User(“用户”)

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(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
emailstring
namestring
slugstring
rolestring

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

statsobject
oAuthIdentitieslist of objects
subscriptionobject
licenseobject