Skip to main content
Remove a 2FA method from your account.

Signature

Parameters

Optional[int]
ID of the 2FA method to delete (see vastai tfa status)
Optional[str]
2FA code from your Authenticator app, SMS, or Email to authorize deletion
Optional[str]
2FA Method type. Only use when you only have one method of this type
Optional[str]
Secret token (required for SMS or Email 2FA)
Optional[str]
One-time backup code (alternative to regular 2FA code)
Optional[str]
2FA Method ID to use if you have more than one of the same type (‘id’ from tfa status)

Returns

dict

Example