---
title: "List user roles"
method: GET
path: "/access-control/users/{user_id}/roles"
tags: ["Access Control"]
---

# List user roles

`GET /access-control/users/{user_id}/roles`

Lists all roles assigned to a user.

## Path parameters

- `user_id` string, required

## Response `200`

OK

- UserRoleInfo[], nullable
  - `assigned_at` string, date-time, nullable
  - `assigned_by_user_id` string, nullable
  - `expires_at` string, date-time, nullable
  - `role_description` string, nullable
  - `role_id` string, required
  - `role_name` string, required
  - `role_weight` integer, required

---

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