Vaults - Purge Deleted
Permanently deletes the specified vault. aka Purges the deleted Azure key vault.
POST https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.KeyVault/locations/{location}/deletedVaults/{vaultName}/purge?api-version=2022-07-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
location
|
path | True |
string |
The location of the soft-deleted vault. |
subscription
|
path | True |
string |
Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
vault
|
path | True |
string |
The name of the soft-deleted vault. |
api-version
|
query | True |
string |
Client Api Version. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The vault is purged. |
|
202 Accepted |
Vault is being purged. |
|
Other Status Codes |
Error response describing why the operation failed. |
Examples
Purge a deleted vault
Sample request
Sample response
Definitions
Name | Description |
---|---|
Cloud |
An error response from Key Vault resource provider |
Cloud |
An error response from Key Vault resource provider |
CloudError
An error response from Key Vault resource provider
Name | Type | Description |
---|---|---|
error |
An error response from Key Vault resource provider |
CloudErrorBody
An error response from Key Vault resource provider
Name | Type | Description |
---|---|---|
code |
string |
Error code. This is a mnemonic that can be consumed programmatically. |
message |
string |
User friendly error message. The message is typically localized and may vary with service version. |