Appwrite icon

Appwrite

Interact with Appwrite API

Actions181

Account → Update Email

AI-generated

Overview

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

  1. Updating a user's email address in an Appwrite-managed application after verifying their current password.
  2. Changing the email associated with a user account to maintain up-to-date contact details.

Properties

Name Meaning
Email 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

Discussion