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

# List Users

`GET /auth/users`

List all users in the system

## Response `200`

Success

- GithubComAlchemillahqSylveInternalAPIResponseArrayGithubComAlchemillahqSylveInternalDbModelsUser
  - `data` GithubComAlchemillahqSylveInternalDbModelsUser[]
    - `admin` boolean
    - `createdAt` string
    - `disablePassword` boolean
    - `doasEnabled` boolean
    - `email` string
    - `fullName` string
    - `groups` GithubComAlchemillahqSylveInternalDbModelsGroup[]
      - `createdAt` string
      - `id` integer
      - `name` string
      - `notes` string
      - `updatedAt` string
      - `users` GithubComAlchemillahqSylveInternalDbModelsUser[]
    - `homeDirPerms` integer
    - `homeDirectory` string
    - `id` integer
    - `lastLoginTime` string
    - `locked` boolean
    - `notes` string
    - `primaryGroupId` integer
    - `shell` string
    - `sshPublicKey` string
    - `tokens` GithubComAlchemillahqSylveInternalDbModelsToken[]
      - `authType` string
      - `createdAt` string
      - `expiry` string
      - `id` integer
      - `token` string
      - `updatedAt` string
      - `user` GithubComAlchemillahqSylveInternalDbModelsUser — recursive
      - `userId` integer
    - `totp` string
    - `uid` integer
    - `updatedAt` string
    - `username` string
  - `error` string
  - `message` string
  - `status` string

## Other responses

- `401` — Unauthorized
- `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/950e51f8af98/schema)
