Updates the name, value, or expiration of an existing secret.
cURL
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" }
Enter the JWT token.
The prefixed ID of the vault secret (e.g., vlt_...).
vlt_...
Secret updated successfully.
The response is of type object.
object
Was this page helpful?