Managed Hsms - Purge Deleted

Permanently deletes the specified managed HSM.

POST https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedManagedHSMs/{name}/purge?api-version=2022-07-01

URI Parameters

Name In Required Type Description
location
path True

string

The location of the soft-deleted managed HSM.

name
path True

string

The name of the soft-deleted managed HSM.

subscriptionId
path True

string

Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

api-version
query True

string

Client Api Version.

Responses

Name Type Description
202 Accepted

Accepted and the operation will complete asynchronously.

Headers

Location: string

Other Status Codes

ManagedHsmError

The error response describing why the operation failed.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

Purge a managed HSM Pool

Sample request

POST https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.KeyVault/locations/westus/deletedManagedHSMs/hsm1/purge?api-version=2022-07-01

Sample response

Location: https://some.endpoint.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.KeyVault/managedHSMs/hsm1?api-version=2022-07-01&kv-operation=abJjb2RkIjoiAGVsZXRlTWFuYWdlZEhzbUFzeW5jYm9

Definitions

Name Description
Error

The server error.

ManagedHsmError

The error exception.

Error

The server error.

Name Type Description
code

string

The error code.

innererror

Error

The inner error, contains a more specific error code.

message

string

The error message.

ManagedHsmError

The error exception.

Name Type Description
error

Error

The server error.