---
title: "获取所有用户"
method: GET
path: "/users"
tags: ["用户管理"]
---

# 获取所有用户

`GET /users`

获取系统中所有用户的列表

## Response `200`

获取用户列表成功

- object — 成功的API响应标准格式
  - `code` integer
  - `data` ModelUser[]
    - `createdAt` string
    - `id` string
    - `lastLogin` string
    - `needReset` boolean — 是否需要重置密码
    - `permissions` string[] — 额外权限
    - `role` string — 用户角色
    - `updatedAt` string
    - `username` string
  - `message` string
  - `requestId` string
  - `success` boolean
  - `timestamp` string

## Other responses

- `401` — 未授权访问
- `403` — 禁止访问
- `500` — 服务器内部错误

---

[API](https://skmtc.net/labring/apis/ruiqi-waf-api.md) · [All operations](https://skmtc.net/labring/apis/ruiqi-waf-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/labring/ruiqi-waf-api/versions/aaacd7e06a88/schema)
