Bulk-enroll students
POST/api/courses/:id/roster/bulk
Bulk-adds users as STUDENT to a course roster (the roster's bulk-add flow). Course staff (faculty or TAs) or a system admin. Purely additive: users not yet on the roster are inserted as STUDENT and anyone already enrolled is left untouched, so it's idempotent and safe to re-run. Changing an existing member's role is the dedicated faculty-gated role-change endpoint's job.
Request
Responses
- 200
- 400
- 401
- 403
- 500
Enrolled; returns how many.
No users provided.
Not signed in.
Not course staff (faculty or TAs) or a system admin.
Server error.