Skip to main content
POST
Set up 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.

Response

2FA setup information

secret
string
required
otpauthUrl
string
required
backupCodes
string[]
required