System Accounts - Access Tokens

List System Account Access Tokens

Changed on

Returns the access tokens for the specified system account. Returns 400 if any filter parameters are invalid.

get/v3/system-accounts/{accountId}/access-tokens

Request

  • Base URL: https://global.api.konghq.com
  • URL: https://global.api.konghq.com/v3/system-accounts/{accountId}/access-tokens
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer
    • HTTP bearer
    • HTTP bearer

Query parameters

page[size]integer
Example:10

The maximum number of items to include per page. The last page of a collection may include fewer items.

page[number]integer
Example:1

Determines which page of the entities to retrieve.

Filter access tokens returned in the response.

Response

A paginated list response for a collection of system accounts access tokens.

Example response

{
  "meta": {
    "page": {
      "number": 1,
      "size": 10,
      "total": 100
    }
  },
  "data": [
    {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "Sample Access Token",
      "created_at": "2022-08-01T14:16:09Z",
      "updated_at": "2022-08-02T08:35:49Z",
      "expires_at": "2022-12-31T12:52:23Z",
      "last_used_at": "2022-10-24T13:05:42Z"
    }
  ]
}

Changes

    • breaking

      added to the / response property oneOf list for the response status

    • warning

      added the new key_invalid enum value to the ////// response property for the response status

    • warning

      added the new unique enum value to the ////// response property for the response status

    • warning

      added the new 400.00 enum value to the response property for the response status

    • warning

      added the new 401.00 enum value to the response property for the response status

    • warning

      added the new 404.00 enum value to the response property for the response status