Classrooms
Enroll User in a Course
Enrolls a user in a course in a classroom. If the course is paid, user must have an active license. User must be a member of the classroom.
PUT
/
classrooms
/
{classroomHandle}
/
courses
/
{courseHandle}
/
enrolled
Authorizations
Authorization
string
headerrequiredBasic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
classroomHandle
string
requiredThe classroom's _id
.
courseHandle
string
requiredThe course's _id
.
Query Parameters
retMemberLimit
number | null
limit the return number of members for the classroom, the default value is 1000
Body
application/json
userId
string
requiredResponse
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