---
title: "Get user role"
method: GET
path: "/v1/users/roles/{id}"
tags: ["Users > Roles"]
---

# Get user role

`GET /v1/users/roles/{id}`

Retrieve the details of an existing user role.

## Path parameters

- `id` string, required

## Response `200`

- UserRole
  - `id` string, required — Role ID.
  - `name` string, required — Role name.
  - `description` string, nullable, required — Role description.
  - `is_default` boolean, required — Whether this is the default role assigned to new users.

## Other responses

- `404` — User role not found.

---

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