gateway.openapi_Gateway

Lists all secrets for an account. Note that the value field is not returned in the response for security reasons. Only the name and key_name fields are included for each secret.

get/v1/accounts/{account_id}/secrets

Request

Path parameters

account_idstring required

The Account Id

Query parameters

pageSizeinteger
pageTokenstring
filterstring

Unused but required to use existing ListRequest functionality.

orderBystring

Unused but required to use existing ListRequest functionality.

readMaskstring

The fields to be returned in the response. If empty or "*", all fields will be returned.

Response

A successful response.

nextPageTokenstring
totalSizeinteger

The total number of secrets.

Example response

{
  "secrets": [
    {
      "value": "sk-1234567890abcdef"
    }
  ]
}

Changes

    • info

      the endpoint scheme security BearerAuth was added to the API

    • info

      api tag gateway.openapi_Gateway added

    • info

      api tag Gateway removed