Skip to main content
PATCH
Update an agent secret's value

Authorizations

Authorization
string
header
required

a valid bearer token

Path Parameters

agentId
string
required

The ID of the agent whose vault the secrets are stored in.

Body

application/json
name
string
required

The name of the existing secret whose value is replaced. Used exactly as given.

Minimum string length: 1
Example:

"my-secret"

value
any
required

The new secret value, as a JSON object. It replaces the whole stored value.

Example:

Response

The secret's value was replaced.