---
title: "Get users roles"
method: GET
path: "/resources/users/v3/roles"
tags: ["User management"]
---

# Get users roles

`GET /resources/users/v3/roles`

## Request

- Base URL: `http://localhost:8181`
- URL: `http://localhost:8181/resources/users/v3/roles`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/docs/resources/users/v3/roles/get.ts> (a function with typed inputs; its response is checked against the schema)

This route gets all users roles for a tenant. Send the tenant’s ID in the **`frontegg-tenant-id`** header to declare which tenant.

## Query parameters

- `ids` string[], required

## Headers

- `frontegg-tenant-id` string

## Response `200`

- GetUserRolesResponse

---

[API](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp.md) - [All operations](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/llms.txt) - [OpenAPI document](https://skmtc.dev/frontegg/apis/entitlements-agent-pdp/revisions/c496ae9e1c3e?raw)
