Skip to main content

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.

View source

Request

Responses

Enrolled; returns how many.