Add or Remove Students from Course
Note: AI Labs is currently available only in the Delhi region. Select addition_type as 'group_ids' to add students via group IDs or 'emails' to add via email addresses. Make sure to change the request body using the dropdown in the examples section.
PUT
/ai_labs/organization/{Organization_Id}/course/{Course_Id}/students/Path parameters
Organization_IdPathintegerrequiredOrganization ID
Course_IdPathintegerrequiredCourse ID
Query parameters
locationQuerystringrequiredLocation
active_iamQueryintegeroptionalActive IAM ID (To access contact person account) Find your Active IAM ID here
addition_typeQuerystringrequiredType of student addition (by group IDs or emails)
examplegroup_ids
Request body
application/json
List of student member IDs to add or remove
List of group IDs to add or remove
Action to perform — either add or remove
Responses
200Successfully added or removed students from the course
example
200example
Successfully added/removed Students from the courseexample
Success