---
title: "List Team roles"
method: GET
path: "/api/{cloudId}/v1/teams/{teamId}/roles"
tags: ["Team roles"]
---

# List Team roles

`GET /api/{cloudId}/v1/teams/{teamId}/roles`

Returns list of team roles.

## Path parameters

- `teamId` string, required

## Response `200`

Returned if the request is successful.

- object[]
  - `id` string — The id of the team role.
  - `name` string — The name of the team role.
  - `rights` object[] — The list of rights granted to the custom user role.
    - `right` string
    - `granted` boolean

## Other responses

- `403` — Returned if the request user does not have permission to get a team role.

---

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