Skip to main content
PATCH
Admin Update User

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

username
string
必填

请求体

application/json
username
string | null

新登录名

Required string length: 1 - 128
email
string | null

邮箱;传 null 清空

Maximum string length: 256
display_name
string | null

显示昵称;传 null 清空

Maximum string length: 128

响应

Successful Response

id
integer
必填
username
string
必填
role
string
必填
auth_source
string
必填
disabled
boolean
必填
quota
QuotaOut · object
必填
email
string | null
avatar
string | null
display_name
string | null