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 Verification
AI-generatedOverview
This node interacts with the Appwrite API to update the phone verification status of a user. It is useful in scenarios where you need to programmatically mark a user's phone number as verified or unverified, such as during user management workflows or automated verification processes.
Use Case Examples
- Mark a user's phone as verified after successful verification via SMS.
- Revoke phone verification status if a phone number is changed or deemed invalid.
Properties
| Name | Meaning |
|---|---|
| User ID | The unique identifier of the user whose phone verification status is to be updated. |
| Phone Verified | Boolean flag indicating whether the user's phone should be marked as verified (true) or not (false). |
Output
JSON
userId- The ID of the user whose phone verification status was updated.phoneVerified- The updated phone verification status of the user.
Dependencies
- Appwrite API key credential for authentication
Troubleshooting
- Ensure the User ID provided is valid and exists in the Appwrite user database to avoid errors.
- Verify that the API key credential has sufficient permissions to update user phone verification status.
- Common errors include authentication failures due to invalid API keys or insufficient permissions, and invalid user ID errors if the user does not exist.