---
title: "Get user roles"
method: GET
path: "/v2/user/roles"
tags: ["system"]
---

# Get user roles

`GET /v2/user/roles`

Get list of user roles

## Query parameters

- `roleType` 'TECHNICIAN' | 'END_USER'

## Response `200`

User roles

- object[]
  - `id` integer — Role identifier
  - `name` string — Role name
  - `type` string — Role type
  - `description` string — Role description
  - `members` object[] — Role members
    - `id` integer — User identifier
    - `email` string — User email
    - `name` string — User full name
    - `source` string — Source of role assignment

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0.md) · [All operations](https://skmtc.net/ninjarmm/apis/ninjaone-public-api-2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ninjarmm/ninjaone-public-api-2-0/revisions/753f26d46650/schema)
