Actions181
- Account Actions
- Get Account
- Create Account
- Update Email
- Update Name
- Update Password
- Update Phone
- Update Status
- Get Preferences
- Update Preferences
- List Sessions
- Delete Sessions
- Get Session
- Update Session
- Delete Session
- Create Anonymous Session
- Create Email/Password Session
- Create Magic URL Session
- Create OAuth2 Session
- Create Phone Session
- Create Session from Token
- Create JWT
- Create Magic URL
- Create Phone Token
- Create Email Verification
- Update Email Verification
- Create Phone Verification
- Update Phone Verification
- Create Password Recovery
- Update Password Recovery
- Create Recovery
- Update Recovery
- Update MFA
- Create MFA Authenticator
- Update MFA Authenticator
- Delete MFA Authenticator
- Create MFA Challenge
- Update MFA Challenge
- Attribute Actions
- Avatars Actions
- Collection Actions
- Database Actions
- Document Actions
- Functions Actions
- Index Actions
- Locale Actions
- Messaging Actions
- Sites Actions
- Storage Actions
- Teams Actions
- Users Actions
Account → Update MFA Authenticator
AI-generatedOverview
This node operation updates the Multi-Factor Authentication (MFA) authenticator for an account in the Appwrite platform. It is useful for scenarios where a user needs to change or refresh their MFA settings, such as switching to a new authenticator app or revalidating their current MFA setup. For example, a user might update their MFA authenticator after installing a new authenticator app or after a security policy update requiring re-authentication.
Use Case Examples
- Updating the MFA authenticator type to TOTP (Time-based One-Time Password) using an authenticator app.
- Submitting a one-time password (OTP) code from the authenticator app to verify and update the MFA settings.
Properties
| Name | Meaning |
|---|---|
| MFA Type | Specifies the type of MFA to update, currently supporting TOTP (Authenticator App). |
| OTP Code | The one-time password generated by the authenticator app, required to verify and update the MFA authenticator. |
Output
JSON
result- The response from the Appwrite API after updating the MFA authenticator, typically containing status or updated MFA details.
Dependencies
- Appwrite API client library
- API key credential for authentication
Troubleshooting
- Ensure the OTP code is correctly generated and entered from the authenticator app; incorrect OTP will cause authentication failure.
- Verify that the API key and project credentials are correctly configured to avoid authorization errors.
- Check that the MFA type is supported and correctly specified; unsupported types will cause errors.
Links
- Appwrite Account Update MFA Authenticator API - Official documentation for updating MFA authenticators in Appwrite accounts.