---
title: "Get"
method: GET
path: "/api/v1/iam/roles/{role_id}"
tags: ["Role"]
---

# Get

`GET /api/v1/iam/roles/{role_id}`

Get a role by id.

## Path parameters

- `role_id` string, required — The roleId field.

## Response `200`

The GetRolesResponse message contains the retrieved role.

- C1ApiIamV1GetRolesResponse — The GetRolesResponse message contains the retrieved role.
  - `role` C1ApiIamV1Role — Role is a role that can be assigned to a user in ConductorOne.
    - `createdAt` string, date-time
    - `deletedAt` string, date-time
    - `displayName` string — The display name of the role.
    - `id` string — The id of the role.
    - `name` string — The internal name of the role.
    - `permissions` string[], nullable — The list of permissions this role has.
    - `serviceRoles` string[], nullable — The list of serviceRoles that this role has.
    - `systemApiOnly` boolean — This Role is intended for API keys usage only, and the user interface may not function as expected.
    - `systemBuiltin` boolean — The system builtin field. If this field is set, the role is not editable.
    - `updatedAt` string, date-time

---

[API](https://skmtc.net/conductorone/apis/c1-api.md) · [All operations](https://skmtc.net/conductorone/apis/c1-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/conductorone/c1-api/revisions/d391405a35d3/schema)
