---
title: "getAssignedRolesForUser"
method: GET
path: "/v1/permissions/assignments/{userId}"
tags: ["Assignments"]
---

# getAssignedRolesForUser

`GET /v1/permissions/assignments/{userId}`

Get list of assigned roles by user id

## Path parameters

- `userId` string, required — Id of a user

## Response `200`

ok

- RoleId[] — List of role ids attached to an user

---

[API](https://skmtc.dev/epilot/apis/permissions-api.md) · [All operations](https://skmtc.dev/epilot/apis/permissions-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/epilot/permissions-api/revisions/b29ea9adf72b/schema)
