---
title: "获取当前用户信息"
method: GET
path: "/auth/me"
tags: ["认证"]
---

# 获取当前用户信息

`GET /auth/me`

获取当前登录用户的详细信息

## Response `200`

获取用户信息成功

- object — 成功的API响应标准格式
  - `code` integer
  - `data` DtoGetUserInfoResponseData
    - `id` string
    - `needReset` boolean
    - `role` string
    - `username` string
  - `message` string
  - `requestId` string
  - `success` boolean
  - `timestamp` string

## Other responses

- `401` — 未授权访问

---

[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/revisions/aaacd7e06a88/schema)
