v27

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-22216424765.0 KB
gateway.openapi_Gateway

patch/v1/accounts/{account_id}/secrets/{secret_id}

Path parameters

account_idstring required

The Account Id

secret_idstring required

The Secret Id

Request body

keyNamestring required
valuestring

The secret value. This field is INPUT_ONLY and will not be returned in GET or LIST responses for security reasons. The value is only accepted when creating or updating secrets.

Example request

{
  "value": "sk-1234567890abcdef"
}

Response

A successful response.

namestring required
keyNamestring required
valuestring

The secret value. This field is INPUT_ONLY and will not be returned in GET or LIST responses for security reasons. The value is only accepted when creating or updating secrets.

Example response

{
  "value": "sk-1234567890abcdef"
}