---
title: "Get organization roles"
method: GET
path: "/v1/organizations/{id}/roles"
tags: ["Organization", "Role"]
---

# Get organization roles

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

Return the roles that are assigned to the organization.

## Query parameters

- `offset` integer
- `limit` integer

## Response `200`

OK

- Role[]
  - `id` string, required — Unique identifier of the role.
  - `name` string, required — Name of the role.
  - `description` string, nullable — Description of the role.
  - `members` string[], required — IDs of the users assigned to the role.
  - `permissions` string[], required — IDs of the permissions assigned to the role.
  - `created_at` string, date-time, required — Date when the organization was created.
  - `updated_at` string, date-time, nullable, required — Date when the organization was updated.

## Other responses

- `400` — Bad request
- `401` — Unauthorized request
- `403` — Forbidden
- `404` — The requested resource not found
- `500` — Internal Server Error

---

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