Azure Key Vault Deleted Vaults API

The DeletedVaults API from Azure Key Vault — 2 operation(s) for deletedvaults.

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

GET /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedVaults/{vaultName} Get a deleted key vault · Vaults get deleted #
Ask an LLM
“Can I read the details of a key vault that was soft-deleted?”
“What does a deleted vault look like before it is purged?”
Tell an agent
Get deleted vault {vaultName} in {location}.
Show the soft-deleted key vault {vaultName}.
POST /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedVaults/{vaultName}/purge Permanently purge a deleted key vault · Vaults purge deleted #
Ask an LLM
“How do I permanently delete a soft-deleted key vault?”
“Can a deleted vault be purged from a region?”
Tell an agent destructive · confirm first
Purge deleted vault {vaultName} in {location}.
Permanently remove the soft-deleted key vault {vaultName}.

Documentation

Specifications

Schemas & Data

Other Resources

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-key-vault:microsoft-azure-key-vault-deletedvaults-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-key-vault-deletedvaults-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: KeyVaultManagementClient Deleted Vaults API
  version: '2026-05-15'
  description: The Azure management API provides a RESTful set of web services that interact with Azure Key Vault.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: DeletedVaults
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedVaults/{vaultName}:
    get:
      operationId: Vaults_GetDeleted
      tags:
      - DeletedVaults
      description: Gets the deleted Azure key vault.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/LocationParameter'
      - name: vaultName
        in: path
        description: The name of the vault.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedVault'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      summary: Vaults get deleted
      x-summary-source: derived
  /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedVaults/{vaultName}/purge:
    post:
      operationId: Vaults_PurgeDeleted
      tags:
      - DeletedVaults
      description: Permanently deletes the specified vault. aka Purges the deleted Azure key vault.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/LocationParameter'
      - name: vaultName
        in: path
        description: The name of the vault.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The request has succeeded.
        '202':
          description: Resource operation accepted.
          headers:
            Location:
              description: The Location header contains the URL where the status of the long running operation can be checked.
              schema:
                type: string
            Retry-After:
              description: The Retry-After header can indicate how long the client should wait before polling the operation status.
              schema:
                type: integer
                format: int32
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
      summary: Vaults purge deleted
      x-summary-source: derived
components:
  parameters:
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription. The value must be an UUID.
      required: true
      schema:
        type: string
        format: uuid
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
    LocationParameter:
      name: location
      in: path
      description: The name of the Azure region.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        minLength: 1
  schemas:
    DeletedVault:
      type: object
      description: Deleted vault information with extended details.
      properties:
        properties:
          $ref: '#/components/schemas/DeletedVaultProperties'
          description: Properties of the vault
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
    DeletedVaultProperties:
      type: object
      description: Properties of the deleted vault.
      properties:
        vaultId:
          type: string
          description: The resource id of the original vault.
          readOnly: true
        location:
          type: string
          description: The location of the original vault.
          readOnly: true
        deletionDate:
          type: string
          format: date-time
          description: The deleted date.
          readOnly: true
        scheduledPurgeDate:
          type: string
          format: date-time
          description: The scheduled purged date.
          readOnly: true
        tags:
          type: object
          description: Tags of the original vault.
          additionalProperties:
            type: string
          readOnly: true
        purgeProtectionEnabled:
          type: boolean
          description: Purge protection status of the original vault.
          readOnly: true
    CloudErrorBody:
      type: object
      description: An error response from Key Vault resource provider
      properties:
        code:
          type: string
          description: Error code. This is a mnemonic that can be consumed programmatically.
        message:
          type: string
          description: User friendly error message. The message is typically localized and may vary with service version.
      x-ms-external: true
    CloudError:
      type: object
      description: An error response from Key Vault resource provider
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorBody'
          description: An error response from Key Vault resource provider
      x-ms-external: true
    ProxyResource:
      type: object
      title: Proxy Resource
      description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
      allOf:
      - $ref: '#/components/schemas/Resource'
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow.