Skip to main content
POST
/
applications
/
{applicationId}
/
secrets
/
{secretName}
Update a secret in the Application
curl --request POST \
  --url https://local.withsutro.com/applications/{applicationId}/secrets/{secretName} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-sutro-api-client: <api-key>' \
  --data '
{
  "value": "<string>"
}
'

Authorizations

Authorization
string
header
required

Builder authentication and authorization

x-sutro-api-client
string
header
required

A unique identifier for the API Client making a request

Path Parameters

applicationId
string<uuid>
required
secretName
string
required

Body

application/json

The updated secret value

value
string
required
Example:

"supersecretvalue"

Response

Secret updated