Managed Hsms - Delete

Deletes the specified managed HSM Pool.

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.KeyVault/managedHSMs/{name}?api-version=2021-10-01

URI Parameters

Name In Required Type Description
name
path True
  • string

The name of the managed HSM Pool to delete

resourceGroupName
path True
  • string

Name of the resource group that contains the managed HSM pool.

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
200 OK

Delete successful.

202 Accepted

Accepted and the operation will complete asynchronously.

204 No Content

Request successful. Resource does not exist.

Other Status Codes

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

Delete a managed HSM Pool

Sample Request

DELETE https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/hsm-group/providers/Microsoft.KeyVault/managedHSMs/hsm1?api-version=2021-10-01

Sample Response

Definitions

Error

The server error.

ManagedHsmError

The error exception.

Error

The server error.

Name Type Description
code
  • string

The error code.

innererror

The inner error, contains a more specific error code.

message
  • string

The error message.

ManagedHsmError

The error exception.

Name Type Description
error

The server error.