Skip to main content
PUT
Upsert a user from classroom

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

handle
string
required

The document's _id or slug.

Body

application/json
code
string
required

The code for joining this classroom

userId
string
required

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

retMemberLimit
number<double> | null

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

Response

200 - application/json

The classroom with the member added.

Subset of properties listed here

_id
string | null
name
string | null
members
string[] | null
ownerID
string | null
description
string | null
courses
ClassroomResponseCoursesItem · object[] | null