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

New login name

Required string length: 1 - 128
email
string | null

Email address; send null to clear it

Maximum string length: 256
display_name
string | null

Display name; send null to clear it

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