---
title: "List user roles"
method: GET
path: "/users/{userId}/user-team-roles"
tags: ["Users / User team roles"]
---

# List user roles

`GET /users/{userId}/user-team-roles`

Gets team roles of the user with the specified `userId`. The response contains user's team role ID for all teams the user is part of. Get the mapping of the `userRoleId` and the user role `name` with the API call `GET /users/roles`.

## Path parameters

- `userId` string, required

## Response `200`

Successful response

- object
  - `userTeamRoles` object[]
    - `usersRoleId` integer
    - `userId` integer
    - `teamId` integer
    - `changeable` boolean
    - `ssoPending` boolean

---

[API](https://skmtc.dev/make/apis/web-api-v2-public.md) · [All operations](https://skmtc.dev/make/apis/web-api-v2-public/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/make/web-api-v2-public/revisions/531769e6f813/schema)
