---
title: "Get Role by Name or ID"
method: GET
path: "/role/{name}"
tags: ["Access Management"]
---

# Get Role by Name or ID

`GET /role/{name}`

Get a role by name or ID.

## Path parameters

- `name` string, required

## Response `200`

Request fulfilled, document follows

- RoleResponse
  - `id` string, uuid, required
  - `name` string, required
  - `email` string, email, required
  - `active` boolean, required

## Other responses

- `400` — Bad request syntax or unsupported method

## Changes

- **2025-08-08** `696ee83009f6` — 1 info
  - api operation id `RoleNameGetRole` removed and replaced with `22_get_role`
- **2025-08-06** `82f6f0eba091` — 1 warning, 10 info
  - removed the optional property `operator` from the response with the `200` status
  - api operation id `RoleNameGetRole` was added
  - api tag `Access Management` added
  - api tag `Role Management` removed
  - …7 more

[Change history](https://skmtc.dev/masumi-network/apis/kodosumi-api/changes/role/:name/get.md)

---

[API](https://skmtc.dev/masumi-network/apis/kodosumi-api.md) · [All operations](https://skmtc.dev/masumi-network/apis/kodosumi-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/masumi-network/kodosumi-api/revisions/2092ce918678/schema)
