Modifies bot profile information such as name, avatar, and status. Changes apply to the bot account associated with this OAuth2 application.
curl --request PATCH \
--url https://api.fluxer.app/v1/oauth2/applications/{id}/bot \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"username": "<string>",
"discriminator": "<string>",
"avatar": "aSDinaTvuI8gbWludGxpZnk=",
"banner": "aSDinaTvuI8gbWludGxpZnk=",
"bio": "<string>",
"bot_flags": 1073741823
}
'{
"id": "<string>",
"username": "<string>",
"discriminator": "<string>",
"avatar": "<string>",
"banner": "<string>",
"bio": "<string>"
}Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.
The id
1 - 32^[a-zA-Z0-9_]+$The discriminator of the bot
^\d{1,4}$The avatar image as base64
The banner image as base64
The bio or description of the bot
The bot user flags
0 <= x <= 2147483647Success
The unique identifier of the bot user
^(0|[1-9][0-9]*)$The username of the bot
The discriminator of the bot
The avatar hash of the bot
The banner hash of the bot
The bio or description of the bot
curl --request PATCH \
--url https://api.fluxer.app/v1/oauth2/applications/{id}/bot \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"username": "<string>",
"discriminator": "<string>",
"avatar": "aSDinaTvuI8gbWludGxpZnk=",
"banner": "aSDinaTvuI8gbWludGxpZnk=",
"bio": "<string>",
"bot_flags": 1073741823
}
'{
"id": "<string>",
"username": "<string>",
"discriminator": "<string>",
"avatar": "<string>",
"banner": "<string>",
"bio": "<string>"
}