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"
}

Changes

Changed in 1 of the 27 revisions of this API.3

    • ○

      the endpoint scheme security BearerAuth was added to the API

      api-security-added

    • ○

      api tag gateway.openapi_Gateway added

      api-tag-added

    • ○

      api tag Gateway removed

      api-tag-removed

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog