---
title: "Get the rbac config according to the user's choice."
method: GET
path: "/common/rbac-config"
tags: ["common"]
---

# Get the rbac config according to the user's choice.

`GET /common/rbac-config`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/common/rbac-config`
- Auth: none declared

Get the rbac config according to the user's choice.

## Query parameters

- `namespace` string
- `role` string

## Response `200`

OK

- object

## Other responses

- `500`: Internal Server Error

## Changes

- **2022-07-08** `4b170c62bd29`: 2 info
  - added the new optional `query` request parameter `namespace`
  - added the new optional `query` request parameter `role`

[Operation history](https://skmtc.dev/chaos-mesh/apis/chaos-mesh-dashboard-api/changes/common/rbac-config/get.md)

---

[API](https://skmtc.dev/chaos-mesh/apis/chaos-mesh-dashboard-api.md) - [All operations](https://skmtc.dev/chaos-mesh/apis/chaos-mesh-dashboard-api/llms.txt) - [OpenAPI document](https://skmtc.dev/chaos-mesh/apis/chaos-mesh-dashboard-api/revisions/2d6f9ed9cc7f?raw)
