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.

Folder Locks

When using any folder lock API endpoints, you must be authenticated as the owner/co-owner of the folder you are trying to access.

cURL
curl -i -X DELETE "https://api.box.com/2.0/folder_locks/93134" \ 
     -H "authorization: Bearer <ACCESS_TOKEN>"
TypeScript (Beta)
await client.folderLocks.deleteFolderLockById(folderLock.id!);
Python (Beta)
client.folder_locks.delete_folder_lock_by_id(folder_lock_id=folder_lock.id)
.NET (Beta)
await client.FolderLocks.DeleteFolderLockByIdAsync(folderLockId: NullableUtils.Unwrap(folderLock.Id)).ConfigureAwait(false)

Locating the folder Lock ID

To delete a folder lock you must supply the folder lock ID to the API. A folder lock ID is supplied in the response when creating a folder lock, or when listing locks on a given folder.