Skip to main content
PATCH
/
oauth2
/
applications
/
{id}
/
bot
Update bot profile
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>"
}

Authorizations

Authorization
string
header
required

Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.

Path Parameters

id
string
required

The id

Body

application/json
username
string
Required string length: 1 - 32
Pattern: ^[a-zA-Z0-9_]+$
discriminator
string

The discriminator of the bot

Pattern: ^\d{1,4}$
avatar
string<byte> | null

The avatar image as base64

banner
string<byte> | null

The banner image as base64

bio
string | null

The bio or description of the bot

bot_flags
integer<int32>

The bot user flags

Required range: 0 <= x <= 2147483647

Response

Success

id
string
required

The unique identifier of the bot user

Pattern: ^(0|[1-9][0-9]*)$
username
string
required

The username of the bot

discriminator
string
required

The discriminator of the bot

avatar
string | null
required

The avatar hash of the bot

banner
string | null
required

The banner hash of the bot

bio
string | null
required

The bio or description of the bot