---
title: "Remove a GraphQL query lock"
method: POST
path: "/dev-tools/gql-lock/unlock"
tags: ["Dev Tools", "GraphQL Locks"]
---

# Remove a GraphQL query lock

`POST /dev-tools/gql-lock/unlock`

## Request

- Base URL: `http://dev.theverge.com:3002/api`
- URL: `http://dev.theverge.com:3002/api/dev-tools/gql-lock/unlock`
- Auth: none declared

Manually removes a lock for a specific GraphQL query to allow requests to flow normally

## Request body

- object
  - `id` string, required
  - `host` string, required
  - `variableHash` string

## Response `200`

Successfully removed lock

- object
  - `data` UnlockResponse, required
    - `success` boolean, required
    - `key` string, required
    - `scope` 'persisted_query' | 'variable_hash', required
    - `deleted` boolean, required

## Other responses

- `400`: Invalid input parameters
- `500`: Internal server error

---

[API](https://skmtc.dev/theverge/apis/the-verge-api-documentation.md) - [All operations](https://skmtc.dev/theverge/apis/the-verge-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/theverge/apis/the-verge-api-documentation/revisions/f44a9b8ebfc3?raw)
