> ## Documentation Index
> Fetch the complete documentation index at: https://vastai-80aa3a82-auto-cli-sdk-preview-pr-398.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# VastAI.tfa_resend_sms

Resend SMS 2FA code.

## Signature

```python theme={null}
VastAI.tfa_resend_sms(
    phone_number: Optional[str] = None,
    secret: Optional[str] = None
) -> dict
```

## Parameters

<ParamField path="phone_number" type="Optional[str]">
  Phone number to receive SMS code (E.164 format, e.g., +1234567890)
</ParamField>

<ParamField path="secret" type="Optional[str]">
  Secret token from the original 2FA login attempt
</ParamField>

## Returns

`dict`

## Example

```python theme={null}
from vastai import VastAI

client = VastAI(api_key="YOUR_API_KEY")
result = client.tfa_resend_sms()
print(result)
```
