v54

latestOpenAPI 3.1.0MITraw.githubusercontent.com2026-07-212425391.1 MB

patch/users/@me

Request body

usernamestring required
avatarstring byte nullable
bannerstring byte nullable

Response

200 response for update_my_user

idstring snowflake required
usernamestring required

the user's username, not unique across the platform

avatarstring nullable required

the user's avatar hash

discriminatorstring required

the user's Discord-tag

public_flagsinteger required

the public flags on a user's account

flagsinteger required
botboolean

whether the user belongs to an OAuth2 application

systemboolean

whether the user is an Official Discord System user (part of the urgent message system)

bannerstring nullable

the user's banner hash

accent_colorinteger nullable

the user's banner color encoded as an integer representation of hexadecimal color code

global_namestring nullable required

the user's display name, if it is set

mfa_enabledboolean required
emailstring nullable
verifiedboolean