Usage
Arguments
integer
required
ID of the 2FA method to update (see
vastai tfa status)Options
string
New label/name for this 2FA method
string
Set this method as the primary/default 2FA method
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
vastai tfa update METHOD_ID [--label LABEL] [--set-primary]
vastai tfa status)vastai tfa update 123 --label "Work Phone"
vastai tfa update 456 --set-primary
vastai tfa update 789 --label "Backup Authenticator" --set-primary
| 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) |