Usage
Arguments
ID of the 2FA method to update (see
vastai tfa status)Options
New label/name for this 2FA method (alias:
--label)Set this method as the primary/default 2FA method (alias:
--set-primary)Description
Update the label or primary status of a 2FA method. The label is a friendly name to help you identify different methods (e.g. “Work Phone”, “Personal Authenticator”). The primary method is your preferred/default 2FA method.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) |