---
title: "Update role"
method: PATCH
path: "/groups/{group-id}/roles"
tags: ["Roles"]
---

# Update role

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

## Path parameters

- `group-id` string, required

## Request body

- UpdateRoleRequest
  - `userId` string
  - `removedRoles` string[]
  - `addedRoles` string[]

## Response `200`

Role update status

- SuccessStatus
  - `success` boolean — Success status

## Other responses

- `default` — Unexpected error

---

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