Usage
Options
ID of the 2FA method to delete (see
vastai tfa status) (alias: --id-to-delete)2FA code from your Authenticator app or SMS to authorize deletion (alias:
--code)Use SMS 2FA method instead of TOTP
Secret token (required for SMS authorization) (alias:
--secret)One-time backup code (alternative to regular 2FA code) (alias:
--backup-code)2FA Method ID if you have more than one of the same type (‘id’ from
tfa status)Description
Remove a 2FA method from your account. This action requires 2FA verification to prevent unauthorized removals.NOTE: If you do not specify —id-to-delete, the system will attempt to delete the method you are using to authenticate. However please be advised, it is much safer to specify the ID to avoid confusion if you have multiple methods.
Use
vastai tfa status to see your active methods and their IDs.
Examples
Global Options
The following options are available for all commands:| Option | Description |
|---|---|
--url URL | Server REST API URL |
--retry N | Retry limit |
--raw | Output machine-readable JSON |
--explain | Verbose explanation of API calls |
--api-key KEY | API key (defaults to ~/.config/vastai/vast_api_key) |