---
title: "List users"
method: GET
path: "/auth/users"
tags: ["Users"]
---

# List users

`GET /auth/users`

List public user records, optionally filtered by account source

## Query parameters

- `source` 'local' | 'pam'

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseArrayInternalHandlersAuthPublicUser
  - `data` 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

- `400` — Bad Request
- `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)
