Create tfa login
Log a user in by verifying a given 2FA code and tfa_method Requirements: - tfa_method - the 2FA method being used (“sms” or “totp” or “email”) - code - the 2FA code provided by the user to verify - tfa_secret - the secret token provided to the user in the previous step of auth either from the UI or CLI (if using SMS) - (optional) backup_code - a one time use backup code that can be used if the user is unable to access their normal 2FA method UI/Client: Called by a user using a valid tfa_secret that was created after passing the first step of auth (username/password) CLI flow: The user calls this endpoint using their API Key as a Bearer token and a tfa_secret only if using SMS 2FA On Success: A new 2FA Session API Key that expires in 24 hours will be created for the user (and returned in the response if called from CLI) An audit log record will be created for the successful 2FA login
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