---
title: "Unlocks a key-value."
method: DELETE
path: "/locks/{key}"
---

# Unlocks a key-value.

`DELETE /locks/{key}`

Unlocks a key-value.

## Path parameters

- `key` string, required

## Query parameters

- `api-version` string, required
- `label` string

## Headers

- `Sync-Token` string
- `If-Match` string
- `If-None-Match` string
- `x-ms-client-request-id` string, uuid

## Response `200`

The request has succeeded.

- KeyValue — A key-value pair representing application settings.
  - `key` string, required — The key of the key-value.
  - `label` string — The label the key-value belongs to.
  - `content_type` string — The content type of the value stored within the key-value.
  - `value` string — The value of the key-value.
  - `last_modified` string, date-time — A date representing the last time the key-value was modified.
  - `tags` object — The tags of the key-value
  - `description` string — The description of the key-value.
  - `locked` boolean — Indicates whether the key-value is locked.
  - `etag` string — A value representing the current state of the resource.

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.dev/azure/apis/appconfiguration-appconfiguration.md) · [All operations](https://skmtc.dev/azure/apis/appconfiguration-appconfiguration/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/appconfiguration-appconfiguration/revisions/806b202b7efb/schema)
