OAuth2

Reset bot token

Rotates the bot token for an OAuth2 application. Requires sudo mode authentication. Invalidates all previously issued bot tokens. Used for security rotation and compromise mitigation.

post/oauth2/applications/{id}/bot/reset-token

Path parameters

idstring required

The id

Request body

passwordstring
mfa_method'totp' | 'webauthn'

MFA method to use for verification

mfa_codestring

MFA verification code from an authenticator app

webauthn_responseobject

WebAuthn authentication response

webauthn_challengestring

WebAuthn challenge string

Response

Success

tokenstring required

The new bot token

Changes

No recorded changes to this endpoint across all 1 revision of this API.