Skip to main content
POST
Disable 2FA

Authorizations

Authorization
string
header
required

Authentication using either a FormBnB session JWT (issued by /auth) or an API key (prefixed with sk_). Both token types are passed as Bearer tokens in the Authorization header.

Body

application/json
code
string
required

TOTP code or backup code

Minimum string length: 1

Response

2FA disabled successfully

success
boolean
required
message
string