Update a course assignment (full)
PUT/api/courses/:id/assignments/:aid
Full update of an assignment. Course staff (faculty or TAs) or a system admin. Guards protect data integrity: an assignment can't be unpublished once it has submissions or grades, and its group mode can't change after any submission exists. Late-submission rules are validated the same way as on create.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The updated assignment.
Inconsistent late-submission window.
Not signed in.
Not course staff or a system admin, or a state guard blocked the change.
Assignment not found in this course.
Server error.