---
title: "Get a role"
method: GET
path: "/api/v4/roles/{role_id}"
tags: ["roles"]
---

# Get a role

`GET /api/v4/roles/{role_id}`

Get a role from the provided role id.

##### Permissions
Requires an active session but no other permissions.

## Path parameters

- `role_id` string, required

## Response `200`

Role retrieval successful

- 38cb7293Role
  - `id` string — The unique identifier of the role.
  - `name` string — The unique name of the role, used when assigning roles to users/groups in contexts.
  - `display_name` string — The human readable name for the role.
  - `description` string — A human readable description of the role.
  - `permissions` string[] — A list of the unique names of the permissions this role grants.
  - `scheme_managed` boolean — indicates if this role is managed by a scheme (true), or is a custom stand-alone role (false).

## Other responses

- `401` — No access token provided
- `404` — Resource not found

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/667aae28fec6/schema)
