Upsert a user from classroom

PUT

Upserts a user into the classroom.

Path parameters

handlestringRequired

The document’s _id or slug.

Request

This endpoint expects an object.
codestringRequired

The code for joining this classroom

userIdstringRequired

The _id or slug of the user to add to the class.

retMemberLimitdoubleOptional

limit the return number of members for the classroom, the default value is 1000

Response

This endpoint returns an object.
_idstringOptional
namestringOptional
memberslist of stringsOptional
ownerIDstringOptional
descriptionstringOptional
courseslist of objectsOptional