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

# List user roles

`GET /api/auth/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

## Changes

- **2026-07-08** `352103de0864` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/authula/apis/authula-api/changes/api/auth/access-control/users/:user_id/roles/get.md)

---

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