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
Users → Update Phone
AI-generatedOverview
This node interacts with the Appwrite API to update the phone number of a user. It is useful in scenarios where user contact information needs to be maintained or corrected, such as updating a user's phone number in a user management system or during account recovery processes.
Use Case Examples
- Updating a user's phone number after they provide a new contact number.
- Correcting a user's phone number in the system to ensure accurate communication.
Properties
| Name | Meaning |
|---|---|
| User ID | The unique identifier of the user whose phone number is to be updated. |
| Phone | The new phone number for the user, formatted in E.164 format (e.g., +14155552671). |
Output
JSON
userId- The ID of the user whose phone number was updated.phone- The updated phone number of the user.status- The status or result of the update operation, indicating success or failure.
Dependencies
- Appwrite API key credential for authentication
Troubleshooting
- Ensure the User ID is correct and exists in the Appwrite system to avoid 'User not found' errors.
- Verify the phone number is in the correct E.164 format to prevent validation errors.
- Check API key and project endpoint credentials for proper authentication to avoid authorization errors.
Links
- Appwrite Users API - Update Phone - Official documentation for updating a user's phone number using the Appwrite API.