---
title: "Get User Roles"
method: GET
path: "/business/v2/employees/{userId}/roles"
tags: ["User Roles"]
---

# Get User Roles

`GET /business/v2/employees/{userId}/roles`

Endpoint to retrieve roles by `User` ID.

## Path parameters

- `userId` string, required — The `User` ID.

## Response `200`

The result is the `User` with their `Roles`.

- AssignedUserRoles
  - `id` string — The `User` ID.
  - `roles` UserRole[] — The list of `UserRole` of the `User`.
    - `id` string — The ID of the `UserRole`.
    - `name` string — The name of the `UserRole`.
    - `description` string — The description of the `UserRole`.
    - `scope` string — The scope of the `UserRole`.

## Other responses

- `404` — One or more resource requested does not exist.

---

[API](https://skmtc.net/soldo/apis/soldo-business-api-v2-0.md) · [All operations](https://skmtc.net/soldo/apis/soldo-business-api-v2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/soldo/soldo-business-api-v2-0/revisions/7be21448a2b3/schema)
