API Reference
Log In
API Reference
These docs are for v23. Click to read the latest docs for v33.

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

This endpoint creates or updates the metadata of a secret at the specified location. It does not create a new version.

Path Params
string
required

Secret name

Body Params
string

creation time

string

creator

string

updation time

string

updater

integer

latest usable version

integer

length of password history

string

remove deleted versions after the duration

integer

oldest version

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

OAuth2 token

Responses

Language
Credentials
OAuth2
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json