Tasks
Update File Info
Updates the visibility or archived status of a file. Useful for managing file access and organization.
Basic usage
Update the visibility of a single file.
Archive a file
Update multiple files
Multiple files can be supplied using either fileuuids or files.
Parameters
fileuuid string
The UUID of a single file to update.
fileuuids array
A list of file UUIDs to update.
files array
A list of file objects. Each object must contain a fileuuid property.
update_data required object
The data to apply to all specified files.
Show child attributes
visibility string
The visibility of the file.
Options: private public
__archived boolean
Whether the file should be archived.
Notes
- The same
update_datais applied to every specified file.
Properties
results object
Lookup object of results for each fileuuid provided, where each key is a fileuuid and the value is an object containing the current updated state of the file.