canvas folders update
canvas folders update¶
Update a folder
Synopsis¶
Update an existing folder's properties.
Examples:
canvas folders update --folder-id 101 --name "New Name"
canvas folders update --folder-id 101 --hidden
canvas folders update --folder-id 101 --locked --lock-at "2024-12-31T23:59:59Z"
Options¶
--folder-id int Folder ID (required)
-h, --help help for update
--hidden Hide from students
--lock-at string Lock date (ISO 8601)
--locked Lock the folder
--name string New folder name
--parent-folder-id int Move to this parent folder
--position int Sort position
--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")
--quiet Suppress informational messages, only output data and errors
--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 folders - Manage Canvas file folders