veirox file
Manage stored files
Synopsis
veirox file <subcommand> [args] [flags]
Description
Manage stored files
Subcommands
| Command | Description |
|---|---|
veirox file info <file-id> | Show metadata for one stored file |
veirox file list | List stored files |
veirox file quota | Show file storage quota |
veirox file rm <file-id> | Delete a stored file |
veirox file upload <path> | Upload a file |
veirox file info <file-id>
Show metadata for one stored file
veirox file info 00000000-0000-4000-8000-000000000001
veirox file list
List stored files
| Flag | Type | Default | Description |
|---|---|---|---|
--content-type | string | — | filter by MIME content-type prefix |
--folder | string | — | filter by folder name |
--limit | int | 0 | page size |
--offset | int | 0 | pagination offset |
--search | string | — | search text |
veirox file list --folder runbooks --limit 50
veirox file quota
Show file storage quota
veirox file quota
veirox file rm <file-id>
Delete a stored file
| Flag | Type | Default | Description |
|---|---|---|---|
--yes | bool | false | confirm deletion |
veirox file rm 00000000-0000-4000-8000-000000000001 --yes
veirox file upload <path>
Upload a file
| Flag | Type | Default | Description |
|---|---|---|---|
--folder | string | — | destination folder (optional) |
veirox file upload ./report.pdf --folder runbooks
Exit codes
| Code | Meaning |
|---|---|
0 | Success. |
1 | Generic error (network, API 5xx). |
2 | Validation error (bad flag, missing required arg). |
3 | Unauthenticated — run veirox login or set VEIROX_API_KEY. |
4 | Not found (resource does not exist in this project). |
5 | Permission denied (your role / API key lacks the scope). |