---
title: "Get Roles"
method: GET
path: "/connect/roles"
tags: ["Users"]
---

# Get Roles

`GET /connect/roles`

Retrieves the set of available user roles.

## Response `200`

List of user role names

- string[]

## Other responses

- `401` — Request was not properly authenticated
- `405` — Roles module not configured on server
- `500` — Internal SOC error; review SOC logs

## Changes

- **2025-01-27** `423752d0eb8a` — 1 info
  - endpoint added
- **2024-12-10** `ee1120fd1e20` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/security-onion-solutions/apis/security-onion-connect-api/changes/connect/roles/get.md)

---

[API](https://skmtc.dev/security-onion-solutions/apis/security-onion-connect-api.md) · [All operations](https://skmtc.dev/security-onion-solutions/apis/security-onion-connect-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/security-onion-solutions/security-onion-connect-api/revisions/0576ce393f8d/schema)
