Docs › API Reference › Identity Service › PUT /auth/me
PUT /auth/me
Update the current authenticated user's basic profile, supports modifying username and MFA enable status. Reference: GDPR Art 16 (Right to Rectification), OWASP ASVS V2.1.
Authentication `bearerAuth` application/json
Request Body
Schema: dto.UpdateUserAuthRequest
Field Type Required Example Constraints Description
mfa_enabled
boolean
No
MFAEnabled
username
string
No
Username
Referenced Schemas
dto.UpdateCurrentUserAuthResponse
Field Type Required Example Constraints Description
code
integer
No
message
string
No
gitee_com_linmes_authms_base_dto.SimpleResponse
Field Type Required Example Constraints Description
code
integer
No
message
string
No
timestamp
string
No