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 Email
AI-generatedOverview
This node interacts with the Appwrite API to perform various operations on different resources. Specifically, for the 'Account' resource and 'Update Email' operation, it updates the user's email address after verifying the current password. This is useful in scenarios where a user needs to change their registered email securely, such as updating contact information or correcting an email typo.
Use Case Examples
- Updating a user's email address in an Appwrite-managed application after verifying their current password.
- Changing the email associated with a user account to maintain up-to-date contact details.
Properties
| Name | Meaning |
|---|---|
| The new email address to update for the user account. | |
| Current Password | The current password of the user, required for verification before updating the email. |
Output
JSON
email- The updated email address of the user account.userId- The unique identifier of the user whose email was updated.status- The status or result of the email update operation.
Dependencies
- Appwrite API endpoint
- Project ID
- API key credential for authentication
Troubleshooting
- Ensure the current password provided is correct; otherwise, the update will fail due to authentication errors.
- Verify that the API key and project ID credentials are correctly configured to avoid connection or authorization issues.
- Check that the email format is valid to prevent validation errors from the Appwrite API.
Links
- Appwrite Account Update Email API - Official documentation for updating user email via Appwrite API.