Roles

Lists the roles assigned to a user. Returns 400 if any filter parameters are invalid.

get/v3/users/{userId}/assigned-roles

Request

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

Query parameters

Filter roles returned in the response.

Response

A paginated list response for a collection of assigned roles.

Example response

{
  "meta": {
    "page": {
      "number": 1,
      "size": 10,
      "total": 100
    }
  },
  "data": [
    {
      "id": "54cc6168-ebb1-4300-8168-d62a0dd08fc8",
      "role_name": "Viewer",
      "entity_id": "18ee2573-dec0-4b83-be99-fa7700bcdc61",
      "entity_type_name": "Control Planes",
      "entity_region": "us"
    }
  ]
}

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 404.00 enum value to the response property for the response status