PUT
/
workflows
/
vault
/
{vaultId}
Update a vault secret
curl --request PUT \
  --url https://v1.api.altostrat.io/workflows/vault/{vaultId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Third-Party API Key V2",
  "secret": "new-super-secret-value",
  "expires_at": "2023-11-07T05:31:56Z"
}'
{
  "id": "vlt_a1b2c3d4e5f6g7h8",
  "name": "Stripe API Key",
  "created_at": "2023-11-07T05:31:56Z",
  "expires_at": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Enter the JWT token.

Path Parameters

vaultId
string
required

The prefixed ID of the vault secret (e.g., vlt_...).

Body

application/json

Response

200
application/json

Secret updated successfully.

The response is of type object.