---
title: "List all roles"
method: GET
path: "/roles"
tags: ["roles"]
---

# List all roles

`GET /roles`

## Query parameters

- `orgId` integer
- `max` integer
- `offset` integer
- `name` string
- `type` string

## Response `200`

OK

- ListRolesResponse
  - `roles` ListRolesResponseRoleInfo[]
    - `description` string
    - `isPredefined` boolean
    - `name` string
  - `totalSize` integer

## Other responses

- `400` — Bad request
- `403` — Operation not allowed

---

[API](https://skmtc.net/seqeralabs/apis/seqera-api.md) · [All operations](https://skmtc.net/seqeralabs/apis/seqera-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/seqeralabs/seqera-api/versions/13316c9fe5ff/schema)
