v8

latestSwagger 2.02026-07-13254292.3 KB

Deletes a key of any type from storage in Azure Key Vault.

The delete key operation cannot be used to remove individual versions of a key. This operation removes the cryptographic material associated with the key, which means the key is not usable for Sign/Verify, Wrap/Unwrap or Encrypt/Decrypt operations. This operation requires the keys/delete permission.

delete/keys/{key-name}

Path parameters

key-namestring required

The name of the key to delete.

Query parameters

api-versionstring required

The API version to use for this operation.

Response

The request has succeeded.

tagsobject

Application specific metadata in the form of key-value pairs.

managedboolean

True if the key's lifetime is managed by key vault. If this is a key backing a certificate, then managed will be true.

recoveryIdstring

The url of the recovery object, used to identify and recover the deleted key.

scheduledPurgeDateinteger

The time when the key is scheduled to be purged, in UTC

deletedDateinteger

The time when the key was deleted, in UTC