---
title: "Get all Redis Software roles"
method: GET
path: "/v1/roles"
tags: ["Roles"]
---

# Get all Redis Software roles

`GET /v1/roles`

Get all Redis Software roles configured in the cluster.

## Response `200`

List of roles

- Role[]
  - `account_id` integer — Account ID. Only applicable to account-scoped roles.
  - `management` 'none' | 'db_viewer' | 'cluster_viewer' | 'db_member' | 'cluster_member' | 'user_manager' | 'admin', required — Name of the management role.
  - `name` string, required — Role's name.
  - `resources` Resource[] — Resources that restrict this role's access to specific resources.
    - `type` 'db' — Type of resource for scoping role access.
    - `uids` string[] — List of resource UIDs this role has access to.
  - `uid` integer, required — Role's unique uid.

## Other responses

- `403` — Forbidden

## Changes

- **2026-03-09** `75fcb952f0c6` — 1 warning
  - removed the optional property `items/allOf[#/components/schemas/RoleBody]/permissions` from the response with the `200` status
- **2026-02-25** `a19324f2815b` — 1 warning, 1 info
  - added the new `db` enum value to the `items/allOf[#/components/schemas/RoleBody]/resources/items/type` response property for the response status `200`
  - removed the `bdb` enum value from the `items/allOf[#/components/schemas/RoleBody]/resources/items/type` response property for the response status `200`
- **2026-02-20** `5ef2083f32fc` — 2 info
  - added the optional property `items/allOf[#/components/schemas/RoleBody]/permissions` to the response with the `200` status
  - added the optional property `items/allOf[#/components/schemas/RoleBody]/resources` to the response with the `200` status
- **2026-02-09** `17b61f8beeda` — 1 info
  - endpoint added
- **2026-01-23** `9fdf3bc7ad77` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/redis/apis/redis-software-rest-api/changes/v1/roles/get.md)

---

[API](https://skmtc.dev/redis/apis/redis-software-rest-api.md) · [All operations](https://skmtc.dev/redis/apis/redis-software-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/redis/redis-software-rest-api/revisions/caec2005b95b/schema)
