update_assignment_dates
Update assignment due, unlock, and lock dates (ISO 8601) for a single assignment, including graded discussions and New Quizzes. Clears dates with empty strings.
Instructions
Update due_at, unlock_at, and/or lock_at for a single assignment. Also works for graded discussions and New Quizzes (which are assignments under the hood). Prefer this over update_assignment when you only need to change dates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| due_at | No | Due date (ISO 8601). Empty string to clear. | |
| lock_at | No | Available until (ISO 8601). Empty string to clear. | |
| course_id | Yes | Canvas course ID | |
| unlock_at | No | Available from (ISO 8601). Empty string to clear. | |
| assignment_id | Yes | Assignment ID |