---
title: "Get User Roles"
method: GET
path: "/api/access/v2/users/{userId}/access-levels"
tags: ["Users V2"]
---

# Get User Roles

`GET /api/access/v2/users/{userId}/access-levels`

Use this API to retrieve a list of roles assigned to a specific user.

## Path parameters

- `userId` string, uuid, required

## Response `200`

User access levels retrieved successfully

- PlatformAccessManagementPublicAccessLevelResponse[]
  - `organizationId` string, uuid — The unique identifier of the organization.
  - `organizationName` string — The name of the organization.
  - `roleId` string, uuid — The unique identifier of the role.
  - `roleName` string — The name of the role.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized - Invalid or missing authentication
- `403` — Forbidden - Insufficient permissions
- `404` — User not found
- `429` — Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500` — Internal Server Error

---

[API](https://skmtc.net/onetrust/apis/platform-access-management.md) · [All operations](https://skmtc.net/onetrust/apis/platform-access-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onetrust/platform-access-management/versions/21de3aa0b170/schema)
