canvas overrides create
canvas overrides create¶
Create a new override
Synopsis¶
Create a new assignment override.
You must specify one of: --student-ids, --section-id, or --group-id.
Examples:
canvas overrides create --course-id 123 --assignment-id 456 --section-id 100 --due-at "2024-03-15T23:59:00Z"
canvas overrides create --course-id 123 --assignment-id 456 --student-ids "200,201" --title "Extended deadline" --due-at "2024-03-20T23:59:00Z"
canvas overrides create --course-id 123 --assignment-id 456 --group-id 50 --unlock-at "2024-03-01" --lock-at "2024-03-30"
Options¶
--assignment-id int Assignment ID (required)
--course-id int Course ID (required)
--due-at string Due date (ISO 8601)
--group-id int Group ID
-h, --help help for create
--lock-at string Lock date (ISO 8601)
--section-id int Section ID
--student-ids string Comma-separated student IDs
--title string Override title
--unlock-at string Unlock date (ISO 8601)
Options inherited from parent commands¶
--as-user int Masquerade as another user (admin feature, requires permission)
--columns strings Select specific columns to display (comma-separated)
--config string config file (default is $HOME/.canvas-cli/config.yaml)
--dry-run Print curl commands instead of executing requests
--filter string Filter results by text (case-insensitive substring match)
--instance string Canvas instance URL (overrides config)
--limit int Limit number of results for list operations (0 = unlimited)
--no-cache Disable caching of API responses
-o, --output string Output format: table, json, yaml, csv (default "table")
--show-token Show actual token in dry-run output (default: redacted)
--sort string Sort results by field (prefix with - for descending, e.g., -name)
-v, --verbose Enable verbose output
SEE ALSO¶
- canvas overrides - Manage Canvas assignment overrides