Skip to main content
Activate a new 2FA method by verifying the code.

Signature

Parameters

Optional[str]
default:"totp"
New 2FA Method type to activate
Optional[str]
Secret token from setup process (required)
Optional[str]
Phone number for SMS method (E.164 format)
Optional[str]
Label for the new 2FA method

Returns

dict

Example