---
title: "Unlock requests"
method: POST
path: "/v2/request-queues/{queueId}/requests/unlock"
tags: ["Storage/Request queues/Requests locks"]
---

# Unlock requests

`POST /v2/request-queues/{queueId}/requests/unlock`

Unlocks requests in the queue that are currently locked by the client.

* If the client is within an Actor run, it unlocks all requests locked by that specific run plus all requests locked by the same clientKey.
* If the client is outside of an Actor run, it unlocks all requests locked using the same clientKey.

## Path parameters

- `queueId` string, required

## Query parameters

- `clientKey` string

## Response `200`

Number of requests that were unlocked

- UnlockRequestsResponse — Response containing the result of unlocking requests.
  - `data` UnlockRequestsResult, required — Result of unlocking requests in the request queue.
    - `unlockedCount` integer, required — Number of requests that were successfully unlocked.

## Other responses

- `400` — Bad request - invalid input parameters or request body.
- `401` — Unauthorized - authentication required or invalid token.
- `403` — Forbidden - insufficient permissions to perform this action.
- `404` — Not found - the requested resource does not exist.
- `405` — Method not allowed.
- `429` — Too many requests - rate limit exceeded.

---

[API](https://skmtc.net/apify/apis/apify-api.md) · [All operations](https://skmtc.net/apify/apis/apify-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apify/apify-api/versions/01a71794279b/schema)
