API to remove all students from section
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2021
10:51 PM
Hi,
I want to remove all user from a section of a course using REST API, but API docs only have route to remove single user.
Can't use that cause of rate limiter, any other alternative way?
Solved! Go to Solution.
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2021
08:48 AM
How many students are you trying to remove at once?
SIS CSV Import could cleanup a lot quickly.
Rate Limiter shouldn't care much if you do 1 at a time, or even a few at a time, you can account for rate limiting to keep a steady pace.
There's also this script if you just need a quick fix once in awhile.
https://community.canvaslms.com/t5/Canvas-Developers-Group/Bulk-Remove-Students-Tool/ba-p/257312