Skip to main content
Show the current 2FA status and configured methods.

Signature

VastAI.tfa_status() -> str

Returns

str — Result from the API call.

Example

from vastai import VastAI

client = VastAI(api_key="YOUR_API_KEY")
result = client.tfa_status()
print(result)