iai files update
Update a file's contents or name
Synopsis
Upload local-file as a new version of an existing document, or omit local-file and use --name to rename the file without creating a version.
When uploading a version, the file keeps its stored name unless --name is given.
iai files update <id|name> [local-file] [flags]Examples
iai files update <id|name> ./report.pdf
iai files update <id|name> ./report.pdf --name "Q3 Report.pdf"
iai files update <id|name> --name "Q3 Report Final.pdf"Options
-h, --help help for update
--name string New stored name (default when uploading: keep the current name)
-o, --organization string Organization name that owns the project
-p, --project string Project name
--timeout duration HTTP timeout for the update (default 15m0s)Options inherited from parent commands
SEE ALSO
iai files - Manage documents stored in a project
Last updated
Was this helpful?

