Skip to main content
POST
/
oauth2
/
applications
/
{id}
/
bot
/
reset-token
Reset bot token
curl --request POST \
  --url https://api.fluxer.app/v1/oauth2/applications/{id}/bot/reset-token \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "password": "<string>",
  "mfa_method": "totp",
  "mfa_code": "<string>",
  "webauthn_response": {},
  "webauthn_challenge": "<string>"
}
'
{
  "token": "<string>",
  "bot": {
    "id": "<string>",
    "username": "<string>",
    "discriminator": "<string>",
    "bio": "<string>",
    "flags": 1073741823,
    "avatar": "<string>",
    "banner": "<string>",
    "token": "<string>",
    "mfa_enabled": true,
    "authenticator_types": [
      0
    ]
  }
}

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
password
string
Required string length: 8 - 256
mfa_method
enum<string>

MFA method to use for verification

Available options:
totp,
sms,
webauthn
mfa_code
string

MFA verification code from authenticator app or SMS

webauthn_response
object

WebAuthn authentication response

webauthn_challenge
string

WebAuthn challenge string

Response

Success

token
string
required

The new bot token

bot
object
required

Detailed bot user metadata