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

# Get Team role

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

Returns details of a team role.

## Path parameters

- `teamId` string, required
- `identifier` string, required

## Response `200`

Returned if the request is successful.

- TeamRoleResponse
  - `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.
- `404` — Returned if the role with the identifier cannot be found.

---

[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)
