Space
The `hanzo space` commands.
Also for this capability: API · CLI · SDKs
Where work lives: drives, folders and the files in them.
hanzo space healthEvery command takes --json for the raw response and --help for its own flags. Sign in once with hanzo auth login; the commands below use that session, and the org they act in is the one it carries.
| Command | What it does |
|---|---|
hanzo space health | Health reports whether this deployment can serve spaces, drives and files. |
drives
| Command | What it does |
|---|---|
hanzo space drives create <space> | Makes a new drive in a space and answers 201 with it. |
hanzo space drives files <space> <drive> | Lists one folder level of a drive. |
hanzo space drives list <space> | Lists a space's drives. |
hanzo space drives rm <space> <drive> | Removes an EMPTY drive and answers 204. |
spaces
| Command | What it does |
|---|---|
hanzo space spaces create | Makes a new space for the caller's org and answers 201 with it. |
hanzo space spaces get | Lists the caller org's own spaces. |
How is this guide?