Usage
Options
Phone number to receive SMS code (E.164 format, e.g., +1234567890) (alias:
--phone-number)Description
Request a two-factor authentication code to be sent via SMS. If —phone-number is not provided, uses the phone number on your account. The secret token will be returned and must be used with ‘vastai tfa activate’.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) |