In the link provided there it is described how to unenroll more than one user at a time, however the method it is not related to course group.
Roles and permissions
How do I create an "inactive student role" that maintains a student's course data but removes their course access?
This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.