Retrieves folder lock details for a given folder.
You must be authenticated as the owner or co-owner of the folder to use this endpoint.
12345The unique identifier that represent a folder.
The ID for any folder can be determined
by visiting this folder in the web application
and copying the ID from the URL. For example,
for the URL https://*.app.box.com/folder/123
the folder_id is 123.
The root folder of a Box account is
always represented by the ID 0.
Returns details for all folder locks applied to the folder, including the lock type and user that applied the lock.
Returned when the access token provided in the Authorization header
is not recognized or not provided.
Returned if the folder is not found, or the user does not have access to the folder.
Returned if the folder_id is not in a recognized format.
An unexpected client error.
curl -i -X GET "https://api.box.com/2.0/folder_locks?folder_id=33552487093" \
     -H "authorization: Bearer <ACCESS_TOKEN>"await client.folderLocks.getFolderLocks({
  folderId: folder.id,
} satisfies GetFolderLocksQueryParams);client.folder_locks.get_folder_locks(folder.id)await client.FolderLocks.GetFolderLocksAsync(queryParams: new GetFolderLocksQueryParams(folderId: folder.Id));try await client.folderLocks.getFolderLocks(queryParams: GetFolderLocksQueryParams(folderId: folder.id))client.getFolderLocks().getFolderLocks(new GetFolderLocksQueryParams(folder.getId())){
  "entries": [
    {
      "created_at": "2020-09-14T23:12:53Z",
      "created_by": {
        "id": "11446498",
        "type": "user"
      },
      "folder": {
        "etag": "1",
        "id": "12345",
        "type": "folder",
        "name": "Contracts",
        "sequence_id": "3"
      },
      "id": "12345678",
      "lock_type": "freeze",
      "locked_operations": {
        "delete": true,
        "move": true
      },
      "type": "folder_lock"
    }
  ],
  "limit": "1000",
  "next_marker": "JV9IRGZmieiBasejOG9yDCRNgd2ymoZIbjsxbJMjIs3kioVii"
}