---
title: "Manage GraphQL lock configuration overrides"
method: POST
path: "/dev-tools/gql-lock/config"
tags: ["Dev Tools", "GraphQL Locks", "Configuration"]
---

# Manage GraphQL lock configuration overrides

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

## Request

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

Get, set, or delete configuration overrides for the GraphQL lock system

## Request body

- object
  - `value` union, required
    - string
    - number
    - object
    - object
  - `scope` 'global' | 'host' | 'query', required
  - `setting` 'LOCK_ENABLED' | 'LOCK_TTL_SEC' | 'PROBE_COOLDOWN_SEC' | 'RECOVERY_STREAK_N' | 'RATE_TRIGGER' | 'CONSECUTIVE_TRIGGER' | 'DAY24_TRIGGER' | 'COMBO_RATE_TRIGGER' | 'HOTVARS_TOPK', required
  - `id` string
  - `host` string
  - `ttlSec` number

## Response `200`

Successfully set configuration override

- object
  - `data` ConfigSetResponse, required
    - `success` boolean, required
    - `key` string, required
    - `value` string, required
    - `ttl` number

## 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)
