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.

Path parameters

classroomHandlestringRequired

The classroom’s _id.

courseHandlestringRequired

The course’s _id.

Headers

AuthorizationstringRequired

Basic authentication of the form Basic <username:password>.

Query parameters

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

Request

This endpoint expects an object.
userIdstringRequired

Response

This endpoint returns an object.
_idstring or null
namestring or null
memberslist of strings or null
ownerIDstring or null
descriptionstring or null
courseslist of objects or null