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 Phone
AI-generatedOverview
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
- A user wants to change their registered phone number for account recovery or notifications.
- 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
- Appwrite Account Update Phone API - Official documentation for updating the phone number in Appwrite accounts.