---
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, nullable
    - `deletedAt` string, date-time, nullable
    - `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, nullable

## Changes

- **2026-08-21** `f2cf3228f366` — 2 breaking, 10 warning
  - added `#/components/schemas/c1.api.iam.v1.Role, subschema #2` to the `role` response property `oneOf` list for the response status `200`
  - the `role` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - removed the optional property `role/createdAt` from the response with the `200` status
  - removed the optional property `role/deletedAt` from the response with the `200` status
  - …8 more
- **2025-04-10** `17f9f3bcedd5` — 9 warning, 3 info
  - removed the optional property `createdAt` from the response with the `200` status
  - removed the optional property `deletedAt` from the response with the `200` status
  - removed the optional property `displayName` from the response with the `200` status
  - removed the optional property `id` from the response with the `200` status
  - …8 more

[Change history](https://skmtc.dev/conductorone/apis/c1-api/changes/api/v1/iam/roles/:role_id/get.md)

---

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