Azure Key Vault Deleted Managed Hsms API

The DeletedManagedHsms API from Azure Key Vault — 2 operation(s) for deletedmanagedhsms.

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}/deletedManagedHSMs/{name} Get a deleted managed HSM · Managed hsms get deleted #
Ask an LLM
“Can I read the details of a managed HSM I deleted?”
“What does a deleted managed HSM record contain?”
Tell an agent
Get deleted managed HSM {name} in {location}.
Show the details of managed HSM {name} that was deleted in {location}.
POST /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedManagedHSMs/{name}/purge Permanently purge a deleted managed HSM · Managed hsms purge deleted #
Ask an LLM
“How do I permanently delete a managed HSM I deleted by mistake?”
“Can I purge a deleted managed HSM so it's gone for good?”
Tell an agent destructive · confirm first
Purge deleted managed HSM {name} in {location}.
Permanently remove managed HSM {name} from {location}.

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-deletedmanagedhsms-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-deletedmanagedhsms-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: KeyVaultManagementClient Deleted Managed Hsms 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: DeletedManagedHsms
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedManagedHSMs/{name}:
    get:
      operationId: ManagedHsms_GetDeleted
      tags:
      - DeletedManagedHsms
      description: Gets the specified deleted managed HSM.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/LocationParameter'
      - name: name
        in: path
        description: The name of the deleted managed HSM.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeletedManagedHsm'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManagedHsmError'
      summary: Managed hsms get deleted
      x-summary-source: derived
  /subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedManagedHSMs/{name}/purge:
    post:
      operationId: ManagedHsms_PurgeDeleted
      tags:
      - DeletedManagedHsms
      description: Permanently deletes the specified managed HSM.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/LocationParameter'
      - name: name
        in: path
        description: The name of the deleted managed HSM.
        required: true
        schema:
          type: string
      responses:
        '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/ManagedHsmError'
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
      summary: Managed hsms purge deleted
      x-summary-source: derived
components:
  schemas:
    DeletedManagedHsmProperties:
      type: object
      description: Properties of the deleted managed HSM.
      properties:
        mhsmId:
          type: string
          description: The resource id of the original managed HSM.
          readOnly: true
        location:
          type: string
          description: The location of the original managed HSM.
          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
        purgeProtectionEnabled:
          type: boolean
          description: Purge protection status of the original managed HSM.
          readOnly: true
        tags:
          type: object
          description: Tags of the original managed HSM.
          additionalProperties:
            type: string
          readOnly: true
    Error:
      type: object
      description: The server error.
      properties:
        code:
          type: string
          description: The error code.
          readOnly: true
        message:
          type: string
          description: The error message.
          readOnly: true
        innererror:
          $ref: '#/components/schemas/Error'
          description: The inner error, contains a more specific error code.
          readOnly: true
          x-ms-client-name: innerError
    DeletedManagedHsm:
      type: object
      description: Concrete proxy resource types can be created by aliasing this type using a specific property type.
      properties:
        properties:
          $ref: '#/components/schemas/DeletedManagedHsmProperties'
          description: Properties of the deleted managed HSM
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
    ManagedHsmError:
      type: object
      description: The error exception.
      properties:
        error:
          $ref: '#/components/schemas/Error'
          description: The server error.
          readOnly: 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'
  parameters:
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
    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
    LocationParameter:
      name: location
      in: path
      description: The name of the Azure region.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        minLength: 1
  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.