Appwrite icon

Appwrite

Interact with Appwrite API

Actions181

Account → Update Phone

AI-generated

Overview

This node interacts with the Appwrite API to update the phone number associated with a user account. It requires the current password for verification and the new phone number in E.164 format. This operation is useful for scenarios where users need to update their contact information securely within an application using Appwrite as the backend.

Use Case Examples

  1. A user wants to change their registered phone number for account recovery or notifications.
  2. An admin updates a user's phone number after verifying their identity.

Properties

Name Meaning
Current Password The current password of the user, required for verification before updating the phone number.
Phone The new phone number to be set, formatted in E.164 standard (e.g., +14155552671).

Output

JSON

  • json - The response from the Appwrite API after attempting to update the phone number, typically containing success confirmation or error details.

Dependencies

  • Appwrite API key credential for authentication

Troubleshooting

  • Ensure the current password is correct; otherwise, the update will fail due to authentication errors.
  • Verify the phone number is in the correct E.164 format to avoid validation errors.
  • Check that the Appwrite API credentials (endpoint, project ID, API key) are correctly configured to prevent connection issues.

Links

Discussion