Personal Access Tokens

List personal access tokens for a user.

get/v3/users/{userId}/access-tokens

Request

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

Response

A list response for a collection of personal access tokens.

Example response

{
  "meta": {
    "number": 1,
    "size": 10,
    "total": 100
  },
  "data": [
    {
      "id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
      "user_id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
      "revoked_by": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
      "created_at": "2022-11-04T20:10:06.927Z",
      "updated_at": "2022-11-04T20:10:06.927Z",
      "last_used_at": "2022-11-04T20:10:06.927Z",
      "expires_at": "2022-11-04T20:10:06.927Z",
      "revoked_at": "2022-11-04T20:10:06.927Z"
    }
  ]
}

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 403.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