updateCurrentUser abstract method
- @PATCH.new('/users/@me')
- @Body.new() required UserUpdateWithVerificationRequest body,
Update current user profile.
Updates the authenticated user's profile information such as username, avatar, and bio. Requires sudo mode verification for security-sensitive changes. Only default users can modify their own profile.
body - Name not received - field will be skipped.
Implementation
@PATCH('/users/@me')
Future<UserPrivateResponse> updateCurrentUser({
@Body() required UserUpdateWithVerificationRequest body,
});