API v10InterfacesRESTPatchAPICurrentUserJSONBodyVersion: 0.37.96On this pageRESTPatchAPICurrentUserJSONBody https://discord.com/developers/docs/resources/user#modify-current-userIndex PropertiesavatarbannerusernameProperties optionalavataravatar?: null | stringIf passed, modifies the user’s avataroptionalbannerbanner?: null | stringIf passed, modifies the user’s banneroptionalusernameusername?: stringUser’s username, if changed may cause the user’s discriminator to be randomized
https://discord.com/developers/docs/resources/user#modify-current-user