---
title: "Get roles"
method: GET
path: "/groups/{group-id}/roles"
tags: ["Roles"]
---

# Get roles

`GET /groups/{group-id}/roles`

## Path parameters

- `group-id` string, required

## Query parameters

- `searchKey` string
- `lowerLimit` string, required
- `upperLimit` string, required
- `order` string
- `orderBy` string
- `isUpdate` string, required

## Response `200`

Response object containing paginated list of resulting Roles and the count of search results, deployed in provided group

- RolesResourceResponse
  - `count` integer
  - `resourceList` object[]
    - `roleName` string
    - `details` string

## Other responses

- `default` — Unexpected error

## Changes

- **2022-08-14** `810731f15989` — 4 breaking, 5 info
  - added the new required `query` request parameter `isUpdate`
  - added the new required `query` request parameter `lowerLimit`
  - added the new required `query` request parameter `upperLimit`
  - the response's body type changed from `array` to `object` for status `200`
  - …5 more
- **2022-03-14** `cfe3327040c8` — 1 info
  - endpoint added
- **2021-01-06** `cbb5695aec22` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/wso2/apis/cluster-aware-mi-dashboard/changes/groups/:group-id/roles/get.md)

---

[API](https://skmtc.dev/wso2/apis/cluster-aware-mi-dashboard.md) · [All operations](https://skmtc.dev/wso2/apis/cluster-aware-mi-dashboard/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/wso2/cluster-aware-mi-dashboard/revisions/1d5e9cc062de/schema)
