Delete Folder Lock
Delete Folder Lock
To remove a lock applied to a folder in Box, call the
DELETE /folder_locks/:id
API with the id of the folder lock.
cURL
curl -i -X DELETE "https://api.box.com/2.0/folder_locks/93134" \
-H "authorization: Bearer <ACCESS_TOKEN>"
TypeScript Gen
await client.folderLocks.deleteFolderLockById(folderLock.id!);
Python Gen
client.folder_locks.delete_folder_lock_by_id(folder_lock.id)
.NET Gen
await client.FolderLocks.DeleteFolderLockByIdAsync(folderLockId: NullableUtils.Unwrap(folderLock.Id));
Swift Gen (Beta)
try await client.folderLocks.deleteFolderLockById(folderLockId: folderLock.id!)