Deletes a folder lock on a given folder.
You must be authenticated as the owner or co-owner of the folder to use this endpoint.
12345
The ID of the folder lock.
Returns an empty response when the folder lock is successfully deleted.
Returns an error if the user does not have the required access to perform the action.
access_denied_insufficient_permissions
: Returned when the
user does not have access to the folder.
insufficient_scope
: Returned an error if the application
does not have the right scope to delete folders. Make sure
your application has been configured to read and write all files
and folders stored in Box.
Returns an error if the folder could not be found, or the authenticated user does not have access to the folder.
not_found
when the authenticated user does not have access
to the folder.An unexpected client error.
curl -i -X DELETE "https://api.box.com/2.0/folder_locks/93134" \
-H "authorization: Bearer <ACCESS_TOKEN>"
await client.folderLocks.deleteFolderLockById(folderLock.id!);
client.folder_locks.delete_folder_lock_by_id(folder_lock.id)
await client.FolderLocks.DeleteFolderLockByIdAsync(folderLockId: NullableUtils.Unwrap(folderLock.Id));