Skip to main content
PUT
/
api
/
vault
/
{secretName}
Update an existing vault secret
curl --request PUT \
  --url https://your-instance.example.com/api/vault/{secretName} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "value": "<string>",
  "workosOrganizationId": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

secretName
string
required

Body

application/json
value
string
required
workosOrganizationId
string

WorkOS organization ID (format: "org_...")

Response

Secret updated successfully

Generic response envelope. Endpoint-specific fields are intentionally open.