---
title: "List groups"
method: GET
path: "/auth/groups"
tags: ["Groups"]
---

# List groups

`GET /auth/groups`

List all managed groups and their public user records

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseArrayInternalHandlersAuthPublicGroup
  - `data` InternalHandlersAuthPublicGroup[]
    - `createdAt` string
    - `id` integer
    - `name` string
    - `notes` string
    - `updatedAt` string
    - `users` InternalHandlersAuthPublicUser[]
      - `admin` boolean
      - `createdAt` string
      - `disablePassword` boolean
      - `doasEnabled` boolean
      - `email` string
      - `fullName` string
      - `groups` InternalHandlersAuthPublicGroupSummary[]
        - `id` integer
        - `name` string
        - `notes` string
      - `homeDirPerms` integer
      - `homeDirectory` string
      - `id` integer
      - `lastLoginTime` string
      - `locked` boolean
      - `notes` string
      - `passkeyEligible` boolean
      - `primaryGroupId` integer
      - `shell` string
      - `source` string
      - `sshPublicKey` string
      - `uid` integer
      - `updatedAt` string
      - `username` string
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

## Changes

> 41 revisions in range; 23 could not be searched.

- **2025-03-11** `2b736ca1b025` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/alchemillahq/apis/sylve-api/changes/auth/groups/get.md)

---

[API](https://skmtc.dev/alchemillahq/apis/sylve-api.md) · [All operations](https://skmtc.dev/alchemillahq/apis/sylve-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/alchemillahq/sylve-api/revisions/b7a0c0d622eb/schema)
