create_assignment_override
Set custom due dates or availability windows for an assignment targeting specific students, sections, or groups.
Instructions
Create a due-date / availability override for a specific assignment, targeting a set of students, a course section, or a group. Exactly one of student_ids, course_section_id, or group_id must be provided. At least one date field (due_at, unlock_at, lock_at) should be provided; omit a date field to leave the corresponding date unchanged for the override target. Dates must be ISO 8601 strings (e.g. "2026-09-15T23:59:00Z"). Canvas returns a 422 if a student-set override already exists for the same students on this assignment — use list_assignment_overrides to audit first. Provide student_ids as real Canvas user IDs. If CANVAS_PSEUDONYMIZE_STUDENTS is enabled, call resolve_pseudonym first to resolve pseudonyms to real user IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Human-readable label for this override (e.g. "Disability accommodation — Jane D"). | |
| due_at | No | New due date in ISO 8601 format. Pass null to remove the due date for this target. | |
| lock_at | No | Availability close date in ISO 8601 format. Pass null to remove. | |
| group_id | No | ID of the group to override. Mutually exclusive with student_ids and course_section_id. | |
| course_id | Yes | Canvas course ID | |
| unlock_at | No | Availability open date in ISO 8601 format. Pass null to remove. | |
| student_ids | No | Real Canvas user IDs to grant the override to. Mutually exclusive with course_section_id and group_id. | |
| assignment_id | Yes | Canvas assignment ID | |
| course_section_id | No | ID of the course section to override. Mutually exclusive with student_ids and group_id. |