Add "force-unenroll" parameter on user addition/removal to/from a group
For now, the unenroll must be done after
- you remove a user from a group using API
- you request a group using API to search every single course
- for each course, you should unenroll the user
Why don't you just add a parameter on user removal from a group (false by default and not required, so you will not break the existent API) where we can specify if we want that user to be unenrolled from all courses of that specific group?
The same discourse is applied on group assignement to a single user, where we could enroll all courses of a group with a single call.
Thanks for sharing your idea, we will review it and will get back to you!
Any new on this?