canvas quizzes update
canvas quizzes update¶
Update a quiz
Synopsis¶
Update an existing quiz.
Examples:
canvas quizzes update 456 --course-id 123 --title "Updated Title"
canvas quizzes update 456 --course-id 123 --time-limit 60
canvas quizzes update 456 --course-id 123 --published
Options¶
--access-code string Quiz access code
--anonymous Anonymous submissions
--assignment-group-id int Assignment group ID
--attempts int Number of allowed attempts
--cant-go-back Prevent going back
--course-id int Course ID (required)
--description string Quiz description
--due-at string Due date (ISO 8601)
-h, --help help for update
--hide-results string When to hide results
--ip-filter string IP address filter
--lock-at string Lock date (ISO 8601)
--one-at-a-time Show one question at a time
--published Publish quiz
--quiz-type string Quiz type
--scoring-policy string Scoring policy
--show-correct Show correct answers
--shuffle-answers Shuffle answer choices
--time-limit int Time limit in minutes
--title string Quiz 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 quizzes - Manage Canvas quizzes