Microsoft Azure Locks API

The Locks API from Microsoft Azure, for locks.

GitHub OpenAPI

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

PUT /locks/{key} Lock an App Configuration key-value · Microsoft Azure Locks A Key Value #
Ask an LLM
“How do I make an App Configuration setting read-only so nobody changes it?”
“Can I lock a key-value that has a specific label?”
Tell an agent
Lock the key-value {key}.
Make setting {key} with label {label} read-only.
DELETE /locks/{key} Unlock an App Configuration key-value · Microsoft Azure Unlocks A Key Value #
Ask an LLM
“How do I unlock a read-only App Configuration setting so it can be edited?”
“Can I remove the lock only if the key-value's ETag still matches?”
Tell an agent destructive · confirm first
Unlock the key-value {key}.
Remove the lock on setting {key} labelled {label} if it matches ETag {etag}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-locks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-locks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2022-11-01-preview
  title: Microsoft Azure Azure App Configuration Locks API
tags:
- name: Locks
paths:
  /locks/{key}:
    put:
      tags:
      - Locks
      summary: Microsoft Azure Locks A Key Value
      operationId: microsoftAzurePutlock
      parameters:
      - name: key
        in: path
        description: The key of the key-value to lock.
        required: true
        schema:
          type: string
      - name: label
        in: query
        description: The label, if any, of the key-value to lock.
        schema:
          type: string
      - $ref: '#/components/parameters/SyncTokens'
      - $ref: '#/components/parameters/ApiVersion'
      - name: If-Match
        in: header
        description: Used to perform an operation only if the targeted resource's etag matches the value provided.
        schema:
          type: string
      - name: If-None-Match
        in: header
        description: Used to perform an operation only if the targeted resource's etag does not match the value provided.
        schema:
          type: string
      responses:
        '200':
          description: Success
          headers:
            Sync-Token:
              description: Enables real-time consistency between requests by providing the returned value in the next request made to the server.
              schema:
                type: string
            ETag:
              description: An identifier representing the returned state of the resource.
              schema:
                type: string
          content:
            application/vnd.microsoft.appconfig.kv+json:
              schema:
                $ref: '#/components/schemas/KeyValue'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/KeyValue'
        default:
          description: Error response describing why the operation failed
          content:
            application/vnd.microsoft.appconfig.kv+json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error'
      x-ms-examples:
        PutLock:
          $ref: ./examples/PutLock.json
        PutLock_IfMatch:
          $ref: ./examples/PutLock_IfMatch.json
      description: Needs a more full description created.
    delete:
      tags:
      - Locks
      summary: Microsoft Azure Unlocks A Key Value
      operationId: microsoftAzureDeletelock
      parameters:
      - name: key
        in: path
        description: The key of the key-value to unlock.
        required: true
        schema:
          type: string
      - name: label
        in: query
        description: The label, if any, of the key-value to unlock.
        schema:
          type: string
      - $ref: '#/components/parameters/SyncTokens'
      - $ref: '#/components/parameters/ApiVersion'
      - name: If-Match
        in: header
        description: Used to perform an operation only if the targeted resource's etag matches the value provided.
        schema:
          type: string
      - name: If-None-Match
        in: header
        description: Used to perform an operation only if the targeted resource's etag does not match the value provided.
        schema:
          type: string
      responses:
        '200':
          description: Success
          headers:
            Sync-Token:
              description: Enables real-time consistency between requests by providing the returned value in the next request made to the server.
              schema:
                type: string
            ETag:
              description: An identifier representing the returned state of the resource.
              schema:
                type: string
          content:
            application/vnd.microsoft.appconfig.kv+json:
              schema:
                $ref: '#/components/schemas/KeyValue'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/KeyValue'
        default:
          description: Error response describing why the operation failed
          content:
            application/vnd.microsoft.appconfig.kv+json:
              schema:
                $ref: '#/components/schemas/Error'
            application/problem+json:
              schema:
                $ref: '#/components/schemas/Error'
      x-ms-examples:
        DeleteLock:
          $ref: ./examples/DeleteLock.json
        DeleteLock_IfMatch:
          $ref: ./examples/DeleteLock_IfMatch.json
      description: Needs a more full description created.
components:
  schemas:
    KeyValue:
      type: object
      properties:
        key:
          type: string
          description: The key of the key-value.
        label:
          type: string
          description: The label the key-value belongs to.
        content_type:
          type: string
          description: The content type of the value stored within the key-value.
        value:
          type: string
          description: The value of the key-value.
        last_modified:
          format: date-time
          type: string
          description: A date representing the last time the key-value was modified.
        tags:
          type: object
          additionalProperties:
            type: string
          description: The tags of the key-value
        locked:
          type: boolean
          description: Indicates whether the key-value is locked.
        etag:
          type: string
          description: A value representing the current state of the resource.
    Error:
      description: Azure App Configuration error object.
      type: object
      properties:
        type:
          description: The type of the error.
          type: string
        title:
          description: A brief summary of the error.
          type: string
        name:
          description: The name of the parameter that resulted in the error.
          type: string
        detail:
          description: A detailed description of the error.
          type: string
        status:
          description: The HTTP status code that the error maps to.
          type: integer
      readOnly: true
  parameters:
    SyncTokens:
      name: Sync-Token
      in: header
      description: Used to guarantee real-time consistency between requests.
      schema:
        type: string
    ApiVersion:
      name: api-version
      in: query
      description: The API version to be used with the HTTP request.
      required: true
      schema:
        type: string
x-ms-parameterized-host:
  hostTemplate: '{endpoint}'
  useSchemePrefix: false
  parameters:
  - $ref: '#/components/parameters/Endpoint'