Skip to main content
POST
/
oauth2
/
applications
/
{id}
/
client-secret
/
reset
Reset client secret
curl --request POST \
  --url https://api.fluxer.app/v1/oauth2/applications/{id}/client-secret/reset \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "password": "<string>",
  "mfa_method": "totp",
  "mfa_code": "<string>",
  "webauthn_response": {},
  "webauthn_challenge": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "redirect_uris": [
    "<string>"
  ],
  "bot_public": true,
  "bot_require_code_grant": true,
  "client_secret": "<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

id
string
required

The unique identifier of the application

name
string
required

The name of the application

redirect_uris
string[]
required

The registered redirect URIs for OAuth2

Maximum array length: 20
bot_public
boolean
required

Whether the bot can be invited by anyone

bot_require_code_grant
boolean
required

Whether the bot requires OAuth2 code grant

client_secret
string

The client secret for OAuth2 authentication

bot
object

Detailed bot user metadata