创建用户

POST

创建一个User(“用户”)

Request

This endpoint expects an object.
namestringRequired
emailstringRequired
role"student" or "teacher"Optional
Allowed values: studentteacher

"student" 或者 "teacher"

preferredLanguagestringOptional
heroConfigobjectOptional
birthdaystringOptional

Response

This endpoint returns an object.
_idstringOptional
emailstringOptional
namestringOptional
slugstringOptional
rolestringOptional

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

statsobjectOptional
oAuthIdentitieslist of objectsOptional
subscriptionobjectOptional
licenseobjectOptional