Permanently deletes a secret and all its versions. A secret that a vault uses as an entry can't be deleted. Secrets are enabled for teams on request; please contact support to enable them (otherwise 403 SECRETS_FEATURE_DISABLED). Restricted API keys need the secrets.manage scope. When you're signed in rather than using an API key, you must be a team owner or admin (otherwise 403 SECRETS_ADMIN_REQUIRED).

delete/api/secrets/{id}

Request

Path parameters

idstring uuid required

Secret ID.

Response

Success

deletedtrue required
idstring uuid required
namestring required

Changes