JDBC Driver for Box

Build 22.0.8462


Lock a file.


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.

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462