Skip to main content
Remove a 2FA method from your account. Requires 2FA verification to authorize the deletion.

Usage

Options

integer
ID of the 2FA method to delete. Get the ID from vastai tfa status. If omitted, the system attempts to delete the method you are using to authenticate — specify this flag explicitly when you have multiple methods to avoid ambiguity.
string
2FA code from your Authenticator app, SMS, or Email to authorize the deletion. Exactly one of --code or --backup-code is required.
string
One-time backup code to authorize the deletion. Exactly one of --code or --backup-code is required.
string
2FA method type to use for authorization. Choices: email, sms, totp. Only use when you have exactly one method of this type.
string
Secret token required when authorizing with --method-type sms or --method-type email. Obtain from vastai tfa send-sms or vastai tfa send-email.
string
ID of the 2FA method to use for authorization if you have more than one of the same type. Get the ID from vastai tfa status.

Examples

Warning: Deleting your last 2FA method fully disables 2FA and invalidates all backup codes.

Global Options

The following options are available for all commands: