Classrooms
Upsert a user from classroom
Upserts a user into the classroom.
PUT
/
classrooms
/
{handle}
/
members
Authorizations
Authorization
string
headerrequiredBasic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
handle
string
requiredThe document's _id
or slug
.
Body
application/json
code
string
requiredThe code for joining this classroom
userId
string
requiredThe _id
or slug
of the user to add to the class.
retMemberLimit
number | null
limit the return number of members for the classroom, the default value is 1000
Response
200 - application/json
Subset of properties listed here
_id
string | null
name
string | null
members
string[] | null
ownerID
string | null
description
string | null
courses
object[] | null