canvas folders
canvas folders¶
Manage Canvas file folders
Synopsis¶
Manage Canvas file folders for courses, groups, and users.
Folders organize files in Canvas. Each context (course, group, user) has its own folder hierarchy starting at a root folder.
Examples:
canvas folders list --course-id 123
canvas folders list --group-id 456
canvas folders list --user-id 789
canvas folders get --folder-id 101
canvas folders create --course-id 123 --name "Lectures"
canvas folders delete --folder-id 101
Options¶
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 - Canvas LMS CLI - Interact with Canvas from the command line
- canvas folders copy - Copy a folder into a destination folder
- canvas folders create - Create a folder
- canvas folders delete - Delete a folder
- canvas folders get - Get a folder
- canvas folders list - List folders
- canvas folders media - Get the media upload folder
- canvas folders resolve-path - Resolve a folder path
- canvas folders update - Update a folder