I realise that this is well after the event but trying this did not work for me. Tw sets of code below both of which result in an error - 'the requested entity was not found'. This is odd because if I change "remove" to "create", the function succeeds.
function removeStudents() {
//Classroom.Courses.Students.remove({
// userId: "[email protected]",
//}, 727305413955);
var ClassroomID=727305413955
var TeacherslistID="[email protected]";
Classroom.Courses.Teachers.remove({"userId":TeacherslistID},ClassroomID)
}
The error lists this line as at fault Classroom.Courses.Students.remove
Any update on this would be appreciated.