API Reference
Log In
API Reference

/vault/api/v1/secret/delete/{path}

This endpoint issues a soft delete of the specified versions of the secret. This marks the versions as deleted and will stop them from being returned from reads, but the underlying data will not be removed. A delete can be undone using the undelete path.

Log in to see full request history
Path Params
string
required

Secret name

Headers
string
required
Defaults to Bearer a-proper-token-goes-here

OAuth2 token

Responses
204

Versions marked soft deleted

Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!