v7

latestSwagger 2.0raw.githubusercontent.com2022-12-067889207.3 KB
Secrets

Deletes a secret from a specified key vault.

The DELETE operation applies to any secret stored in Azure Key Vault. DELETE cannot be applied to an individual version of a secret. This operation requires the secrets/delete permission.

delete/secrets/{secret-name}

Path parameters

secret-namestring required

The name of the secret.

Query parameters

api-versionstring required

Client API version.

Response

The deleted secret and information on when the secret will be deleted, and how to recover the deleted secret.

valuestring

The secret value.

idstring

The secret id.

contentTypestring

The content type of the secret.

tagsobject

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

kidstring

If this is a secret backing a KV certificate, then this field specifies the corresponding key backing the KV certificate.

managedboolean

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