---
title: "List Roles"
method: GET
path: "/roles"
tags: ["Role and Permission"]
---

# List Roles

`GET /roles`

Retrieves a list of all roles available for the account.

## Query parameters

- `fields` string
- `top` integer
- `skip` integer

## Headers

- `Authorization` string, required
- `X-LC-Tenant` string, required

## Response `200`

- ListRolesResponse — A response for the List Roles endpoint.
  - `itemCount` integer, required
  - `items` Role[], required
    - `id` string, required — The identifier of the role.
    - `type` 'provisioned' | 'custom', required — The role type.
    - `name` string, required — Name of the role.
    - `description` string — Description of the role.
    - `permissions` Permission[] — List of permissions associated with role.
      - `name` string, required — Name of the permission.
      - `description` string, required — Human-readable description of the permission.
      - `category` string, required — The category a permission belongs to.
      - `entityType` PermissionEntityType, required — The entity type a permission applies to.
        - `name` string, required — Name of the entity type.
        - `description` string, required — Human-readable description of the entity type.
      - `dependsOn` string[], required — List of permission names that this permission depends on. Empty array if no dependencies.

## Other responses

- `401` — The user could not be identified.

---

[API](https://skmtc.net/rws/apis/trados-cloud-platform-api.md) · [All operations](https://skmtc.net/rws/apis/trados-cloud-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rws/trados-cloud-platform-api/revisions/d42dac7c28a3/schema)
