---
title: "Delete role"
method: DELETE
path: "/groups/{group-id}/roles/{role-name}"
tags: ["Roles"]
---

# Delete role

`DELETE /groups/{group-id}/roles/{role-name}`

## Path parameters

- `group-id` string, required
- `role-name` string, required

## Query parameters

- `domain` string

## Response `200`

Role deletion status

- SuccessStatus
  - `success` boolean — Success status

## Other responses

- `default` — Unexpected error

## Changes

- **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/:role-name/delete.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.dev/wso2/apis/cluster-aware-mi-dashboard/revisions/1d5e9cc062de?raw)
