Skip to navigation

Delete a secret

View as Markdown

Delete a secret from the vault.

Authentication

AuthorizationBearer

API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.

Path parameters

secretIdstringRequiredformat: "^[a-f\d]{24}$"

The secret's id (24-character hex).

Response

Secret deleted.
statusbooleanOptional
datastringOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
500
Internal Server Error