---
title: "Get group by ID"
method: GET
path: "/rbac/groups/{id}"
tags: ["rbac"]
---

# Get group by ID

`GET /rbac/groups/{id}`

## Request

- Base URL: `https://api.axiom.co/v2`
- URL: `https://api.axiom.co/v2/rbac/groups/{id}`
- Auth: OAuth 2
  - Authorization code: `https://accounts.google.com/o/oauth2/v2/auth`
  - Token URL: `https://www.googleapis.com/oauth2/v4/token` scopes: `rbac|read`
- TypeScript: <https://skmtc.dev/axiom/apis/axiom-public-api/docs/rbac/groups/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves a group by ID with its role IDs, member user IDs, and whether it's managed by your identity provider (`isManaged`).

## Path parameters

- `id` string, required

## Response `200`

The group.

- GroupWithID: Defines a group of users for organizational purposes
  - `description` string: Detailed description of the group's purpose and scope
  - `isManaged` boolean: Whether the group is synced from your identity provider. You can't delete a managed group or change its members.
  - `members` string[]: List of user IDs that are assigned to this group
  - `name` string, required: Unique name identifier for the group
  - `roles` string[]: IDs of the roles assigned to the group. Use a custom role ID or a built-in role ID: `axiom-owner`, `axiom-admin`, `axiom-user`, `axiom-read-only`, or `axiom-none`.
  - `id` string, required: Unique identifier for the group

## Other responses

- `404`: Not found

## Changes

- **2026-10-16** (v2) `fbc1b8430feb`: 1 info
  - added the non-success response with the status `404`

[Operation history](https://skmtc.dev/axiom/apis/axiom-public-api/changes/rbac/groups/:id/get.md)

---

[API](https://skmtc.dev/axiom/apis/axiom-public-api.md) - [All operations](https://skmtc.dev/axiom/apis/axiom-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/axiom/apis/axiom-public-api/revisions/7e39a295e3ba?raw)
