latestOpenAPI 3.1.02026-08-20118232229.3 KB

0e42b0fb26d9

Update secret

Updates a secret that has previously been created in your account

put/secrets/{name}

Path parameters

namestring required

Request body

$schemastring uri

A URL to the JSON Schema for this object.

encrypted_valuestring required
environmentstring required
previewstring required

Example request

{
  "$schema": "https://api.tower.dev/v1/schemas/UpdateSecretParams.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

Example response

{
  "$schema": "https://api.tower.dev/v1/schemas/UpdateSecretResponse.json"
}