Update a course
PUT/api/courses/:id
Updates a course's details and, when instructorIds is supplied, reconciles its faculty roster (adds, promotes, or removes to match the desired set). Runs the same archive/unpublish safety checks as the dedicated toggles, requires a registration window, and records a before→after diff of changed fields. Course staff (faculty or TAs) or a system admin.
Auth: requires FACULTY / TA / STUDENT
Request
Responses
- 200
- 400
- 403
- 500
The updated course with roster and assignments.
Missing id, invalid isArchived, empty instructor list, or missing registration window.
Not course staff (faculty or TAs) or a system admin, or an archive/unpublish safety check failed.
Server error.