Update Assignment
update_assignmentUpdate an existing assignment in a course, changing only the fields you pass — anything omitted keeps its current value — and return the updated assignment object.
Instructions
Update an existing assignment in a course, changing only the fields you pass — anything omitted keeps its current value — and return the updated assignment object. Calling this again with the same arguments leaves the assignment in the same state, unlike create_assignment, which always makes a new one; use delete_assignment to remove this assignment instead. due_at, lock_at, and unlock_at set here apply to every student without an override; use create_assignment_override for a different date for one section, group, or set of students, or set_student_assignment_dates to fan one student's date change across many assignments at once. lock_at must stay after due_at and unlock_at before due_at when both are set. Requires instructor/TA permission to manage assignments and quizzes in the course.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New assignment name | |
| due_at | No | New due date in ISO 8601 format (e.g. 2026-05-01T23:59:00Z) | |
| lock_at | No | New date after which the assignment locks and stops accepting submissions, in ISO 8601 format. Must be after due_at when there is one | |
| course_id | Yes | The Canvas course ID | |
| published | No | Whether the assignment is published and visible to students | |
| unlock_at | No | New date the assignment becomes available to students, in ISO 8601 format. Must be before due_at when there is one | |
| description | No | New assignment description (HTML supported) | |
| assignment_id | Yes | The Canvas assignment ID | |
| points_possible | No | New maximum points | |
| submission_types | No | New allowed submission types | |
| assignment_group_id | No | New assignment group ID | |
| omit_from_final_grade | No | Whether to leave this assignment out of the final grade calculation | |
| grade_group_students_individually | No | For group assignments, whether each member is graded separately (false = one shared group grade) |