cargo-workspace-management
Cargo CLI — Workspace
Workspace administration: managing users, API tokens, folders, roles, workspace-level files, and submitting reports to workspace management.
See
references/response-shapes.mdfor full JSON response structures. Seereferences/troubleshooting.mdfor common errors and how to fix them. Seereferences/examples/users.mdfor user invite and management examples. Seereferences/examples/tokens.mdfor API token creation and rotation examples. Seereferences/examples/folders.mdfor organizing resources into folders. Seereferences/examples/reports.mdfor examples of submitting workspace management reports. Seereferences/examples/sessions.mdfor session tracking — the Cargo installer scaffolds the Claude Code SessionStart + Stop + SessionEnd hooks automatically.
Prerequisites
See ../cargo/references/prerequisites.md for install, login (--oauth / --token), JSON output conventions, and error shapes. Verify the session with cargo-ai whoami before running any of the commands below.
Admin-only: user, role, and token writes require a token with admin access on the workspace. Folder writes and report create work with non-admin tokens.