---
title: "List User Roles"
method: GET
path: "/v3/users/{userId}/assigned-roles"
tags: ["Roles"]
---

# List User Roles

`GET /v3/users/{userId}/assigned-roles`

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

## Query parameters

- `filter` object
  - `entity_id` StringFieldEqualsFilter — Filters on the given string field value by exact match.
    - `eq` string
  - `role_name` StringFieldEqualsFilter — Filters on the given string field value by exact match.
    - `eq` string
  - `entity_type_name` StringFieldEqualsFilter — Filters on the given string field value by exact match.
    - `eq` string

## Response `200`

A paginated list response for a collection of assigned roles.

- object
  - `meta` PaginatedMeta — returns the pagination information
    - `page` PageMeta, required — Contains pagination query parameters and the total number of objects returned.
      - `number` number, required
      - `size` number, required
      - `total` number, required
  - `data` AssignedRole[] — An Array
    - `id` string, uuid — The ID of the role assignment.
    - `role_name` string — Name of the role being assigned.
    - `entity_id` string, uuid — A RBAC entity ID.
    - `entity_type_name` string — Name of the entity type the role is being assigned to.
    - `entity_region` 'us' | 'eu' | 'au' | 'me' | 'in' | 'sg' | '*' — Region of the entity.

## Other responses

- `400` — Bad Request
- `404` — Not Found

## Changes

- **2025-10-23** `8ab3ec3ed301` — 1 warning
  - added the new `type` enum value to the `allOf[subschema #2]/invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule` response property for the response status `400`
- **2025-09-16** `ddf026fbd25b` — 1 warning
  - added the new `sg` enum value to the `data/items/entity_region` response property for the response status `200`
- **2025-09-11** `396c243e49dc` — 2 warning
  - for the `query` request parameter `filter`, the type of property `entity_type_name` changed from `string` to no type
  - for the `query` request parameter `filter`, the type of property `role_name` changed from `string` to no type
- **2025-08-22** `3c0154b2053a` — 9 breaking
  - the response property `allOf[subschema #2]/invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterChoiceItem]/source` became nullable for the status `400`
  - the response property `allOf[subschema #2]/invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterDependentItem]/source` became nullable for the status `400`
  - the response property `allOf[subschema #2]/invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterMaximumLength]/source` became nullable for the status `400`
  - the response property `allOf[subschema #2]/invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterMinimumLength]/source` became nullable for the status `400`
  - …5 more
- …earlier changes not shown

[Full history](https://skmtc.dev/kong/apis/konnect-api-go-sdk/changes/v3/users/:userId/assigned-roles/get.md)

---

[API](https://skmtc.dev/kong/apis/konnect-api-go-sdk.md) · [All operations](https://skmtc.dev/kong/apis/konnect-api-go-sdk/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kong/konnect-api-go-sdk/revisions/7d3c634668f8/schema)
