Classrooms

Enroll User in a Course

PUT
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.

Path parameters

classroomHandlestringRequired

The classroom’s _id.

courseHandlestringRequired

The course’s _id.

Query parameters

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

Request

This endpoint expects an object.
userId
stringRequired

Response

This endpoint returns an object
_id
stringOptional
name
stringOptional
members
list of stringsOptional
ownerID
stringOptional
description
stringOptional
courses
list of objectsOptional