I am trying to remove multiple students from a course at one time.
Unless your institution is more open than mine, there is only one way for a teacher to delete students from a course and that is one at a time from the people page. Now, if your institution does allow it, you can use a CSV file to remove users. You can read more about this process on these pages:
How to Bulk Delete Users?
How to Bulk Delete Users Programmatically?
Bulk delete students from a course
Hope this helps in some way :-)
Retrieving data ...