This section explains how to use the
qq fs_file_set_lock
command.Description
Set a retention period or legal hold on a file.
Usage
qq fs_file_set_lock [-h] (--path PATH | --id ID) [--legal-hold BOOL] [--retention-period RETENTION_PERIOD | --days DAYS | --years YEARS]
Flags
Flag Name | Required | Description |
---|---|---|
--path
|
No | File path |
--id
|
No | File ID |
--legal-hold
|
No | Set or unset a legal hold on the file. |
--retention-period
|
No | Set the retention period for a file lock. |
--days
|
No | Set the retention period for a file lock to the specified number of days from now. |
--years
|
No | Set the retention period for a file lock to the specified number of years from now. |