Skip to main content
POST
Verify TOTP enrollment

Body

application/json
factorId
string
required
Example:

"factor-550e8400-e29b-41d4-a716-446655440000"

code
string
required
Pattern: ^\d+$
Example:

"123456"

Response

TOTP enabled successfully

success
boolean
Example:

true

message
string
Example:

"TOTP successfully enabled! Two-factor authentication is now active."