Remove 2FA Method
Removes a specific 2FA method after verifying with an existing method or backup code; disables 2FA entirely if no methods remain.
Authorizations
API key must be provided in the Authorization header
Body
ID of the 2FA method to remove
7
ID of the 2FA method used to authenticate this removal request
7
Verification code from the authenticating 2FA method
"654321"
tfa_secret token from the prior step (required for SMS/email)
"abc123secret"
Method type used to authenticate the removal request
sms, totp, email "totp"
One-time-use backup code that can authorize the removal instead of a normal code
"ABCD-EFGH-1234"
Set to true to disable legacy SMS 2FA (requires email verification); for accounts that predate the current 2FA system
false
Response
Returns {msg: "2FA method removed", remaining_methods} or {msg: "2FA Successfully Disabled"} if all methods are removed.