veirox file

Manage stored files

Synopsis

veirox file <subcommand> [args] [flags]

Description

Manage stored files

Subcommands

CommandDescription
veirox file info <file-id>Show metadata for one stored file
veirox file listList stored files
veirox file quotaShow 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

FlagTypeDefaultDescription
--content-typestringfilter by MIME content-type prefix
--folderstringfilter by folder name
--limitint0page size
--offsetint0pagination offset
--searchstringsearch 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

FlagTypeDefaultDescription
--yesboolfalseconfirm deletion
veirox file rm 00000000-0000-4000-8000-000000000001 --yes

veirox file upload <path>

Upload a file

FlagTypeDefaultDescription
--folderstringdestination folder (optional)
veirox file upload ./report.pdf --folder runbooks

Exit codes

CodeMeaning
0Success.
1Generic error (network, API 5xx).
2Validation error (bad flag, missing required arg).
3Unauthenticated — run veirox login or set VEIROX_API_KEY.
4Not found (resource does not exist in this project).
5Permission denied (your role / API key lacks the scope).

See also