Update tfa regen backup codes
Two-Factor Auth
Update tfa regen backup codes
Regenerate backup codes. Requires a validated 2FA action: - SMS: provide {"tfa_method":"sms","code":...,"secret":...} (secret from api.tfa.sms) - Authenticator: provide {"tfa_method":"totp","code":...} - Email: provide {"tfa_method":"email","code":...,"secret":...} (secret from api.tfa.email) On success: - soft-deletes any existing backup codes - generates and returns 10 new backup codes (plaintext returned once) - sends an email notification
PUT
Update tfa regen backup codes
Documentation Index
Fetch the complete documentation index at: https://vastai-80aa3a82-auto-openapi-preview-pr-4175.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key must be provided in the Authorization header
Body
application/json