LockFile
Lock a file.
Input
Name | Type | Description |
FileId | String | The Id of the file to lock. |
ExpiresAt | Datetime | The time the lock expires. If there is no value for this field, the file will be locked for an unlimited amount of time until you unlock it manually. |
PreventDownload | Bool | Whether or not the file can be downloaded while locked.
The default value is false. |
AsUserId | String | The Id of the user you want to impersonate. Only works with Admin, Co-Admin and Service Accounts. |
Result Set Columns
Name | Type | Description |
Success | Bool | Whether or not the file was successfully locked. |