Delete tfa login
Remove (disable) a specific 2FA method after verifying the request. Requires one of: - SMS code (tfa_method=“sms”, code=xxxxxx) - Authenticator TOTP code (tfa_method=“totp”, code=xxxxxx) - Email code (tfa_method=“email”, code=xxxxxx) - Backup code (backup_code=XXXX-XXXX-XXXX) Also requires specifying which method to remove via: - tfa_method_id (preferred), OR - tfa_method (“sms” or “totp” or “email”) On success: - soft-delete the specified user_tfa_methods row (deleted_at) - if no active methods remain: set users.tfa_enabled=False and soft-delete all tfa_backup_codes. - audit log + email notification (“2FA method removed.”)
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