> ## Documentation Index
> Fetch the complete documentation index at: https://vastai-80aa3a82-docs-cln-3283-cli-tfa-790d53bc8de7f1f3.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# vastai tfa resend-sms

Resend an SMS 2FA verification code. Use this if you didn't receive the original code or it expired.

## Usage

```bash theme={null}
vastai tfa resend-sms --secret SECRET [--phone-number PHONE_NUMBER]
```

## Options

<ParamField path="--secret" type="string" required>
  Secret token from the original `vastai tfa send-sms` request.
</ParamField>

<ParamField path="--phone-number" type="string">
  Phone number to resend the code to in E.164 format (e.g., `+12345678901`). If omitted, uses the phone number from the original request.
</ParamField>

## Examples

```bash theme={null}
# Resend to the same phone number as the original request
vastai tfa resend-sms --secret abc123def456

# Resend to a specific phone number
vastai tfa resend-sms --secret abc123def456 --phone-number +12345678901
```

## 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`) |
