Resend SMS 2FA code.
Signature
VastAI.tfa_resend_sms(
phone_number: Optional[str] = None,
secret: Optional[str] = None
) -> dict
Parameters
Phone number to receive SMS code (E.164 format, e.g., +1234567890)
Secret token from the original 2FA login attempt
Returns
dict
Example
from vastai import VastAI
client = VastAI(api_key="YOUR_API_KEY")
result = client.tfa_resend_sms()
print(result)