I've asked this question in a different way multiple times before but still haven't found what I have wanted.
Is there a way to bulk activate/deactivate students in a Canvas course, such as using the API? I've done a lot of research and haven't found a solution. We have Canvas projects that students should only be working on while with a teacher, per state regulation, and they should not have access when they are not with the teacher. There are many students in these courses and it can be very laborious to manually activate and deactivate students. All students in these courses work at different paces.
Changing the published status is not an option at this point.
Any tips or suggestions?