---
title: "Realm Groups"
method: GET
path: "/users/groups"
tags: ["users"]
---

# Realm Groups

`GET /users/groups`

## Request

- Base URL: `https://api.b2metric.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.b2metric.com/users/groups`
- Auth: none declared

Every group in the realm, for the "+ group" menu.

Tenant groups and permission groups (`shahin-admins`, `k8s-admins`) are all
Keycloak groups; which is which is the caller's reading, not Keycloak's.

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- GroupRef[]
  - `id` string, required
  - `name` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/b2metric/apis/b2metric-license-api.md) - [All operations](https://skmtc.dev/b2metric/apis/b2metric-license-api/llms.txt) - [OpenAPI document](https://skmtc.dev/b2metric/apis/b2metric-license-api/revisions/5c26e11e8b53?raw)
