New docs? Check out the change log to learn more!
curl --request PATCH \
--url https://discord.com/api/v10/users/@me \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"username": "<string>",
"avatar": "<string>",
"banner": "<string>"
}
'{
"id": "<string>",
"username": "<string>",
"avatar": "<string>",
"discriminator": "<string>",
"public_flags": 123,
"flags": 0,
"global_name": "<string>",
"mfa_enabled": true,
"locale": "<string>",
"bot": true,
"system": true,
"banner": "<string>",
"accent_color": 123,
"avatar_decoration_data": "<unknown>",
"collectibles": "<unknown>",
"primary_guild": "<unknown>",
"premium_type": 123,
"email": "<string>",
"verified": true
}curl --request PATCH \
--url https://discord.com/api/v10/users/@me \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"username": "<string>",
"avatar": "<string>",
"banner": "<string>"
}
'{
"id": "<string>",
"username": "<string>",
"avatar": "<string>",
"discriminator": "<string>",
"public_flags": 123,
"flags": 0,
"global_name": "<string>",
"mfa_enabled": true,
"locale": "<string>",
"bot": true,
"system": true,
"banner": "<string>",
"accent_color": 123,
"avatar_decoration_data": "<unknown>",
"collectibles": "<unknown>",
"primary_guild": "<unknown>",
"premium_type": 123,
"email": "<string>",
"verified": true
}Discord bot token
200 response for update_my_user
-9007199254740991 <= x <= 9007199254740991The ar locale
"ar"Show child attributes
Show child attributes
Show child attributes
None