---
title: "GetUserInfo"
method: GET
path: "/api/v1/auth/getUserInfo"
tags: ["v1/auth"]
---

# GetUserInfo

`GET /api/v1/auth/getUserInfo`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/v1/auth/getUserInfo`
- Auth: API key in header `Authorization`

接口权限编码:v1:auth:getUserInfo

## Response `200`

OK

- object
  - `buttons` string[]
  - `roles` string[]
  - `userUuid` string
  - `username` string

## Changes

- **2026-07-17** `80c5cdf6eb39`: 3 info
  - api operation id `authGetUserInfo` removed and replaced with `v1/AuthGetUserInfo`
  - api tag `v1/auth` added
  - api tag `auth` removed
- **2025-09-28** `e1154be53c2c`: 3 info
  - api operation id `v1/AuthGetUserInfo` removed and replaced with `authGetUserInfo`
  - api tag `auth` added
  - api tag `v1/auth` removed

[Operation history](https://skmtc.dev/jzero-io/apis/jzero-io-jzero-admin-api/changes/api/v1/auth/getUserInfo/get.md)

---

[API](https://skmtc.dev/jzero-io/apis/jzero-io-jzero-admin-api.md) - [All operations](https://skmtc.dev/jzero-io/apis/jzero-io-jzero-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jzero-io/apis/jzero-io-jzero-admin-api/revisions/80c5cdf6eb39?raw)
