---
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

---

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