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 Verification
AI-generatedOverview
This node interacts with the Appwrite API to perform various operations on different resources. Specifically, for the 'Account' resource and 'Update Phone Verification' operation, it updates the phone verification status of a user account using a user ID and a secret token. This is useful in scenarios where phone number verification is part of user authentication or account security workflows, such as confirming a user's phone number during registration or recovery processes.
Use Case Examples
- Updating a user's phone verification status after they enter a verification code sent via SMS.
- Automating phone verification updates in user management systems integrated with Appwrite.
Properties
| Name | Meaning |
|---|---|
| User ID | The unique identifier of the user whose phone verification status is to be updated. |
| Secret | The secret token used to verify the phone number, typically received by the user to confirm ownership. |
Output
JSON
userId- The ID of the user whose phone verification was updated.status- The result status of the phone verification update operation.
Dependencies
- Appwrite API key credential for authentication
Troubleshooting
- Ensure the User ID is correct and corresponds to an existing user in the Appwrite project.
- Verify that the secret token is valid and has not expired or been used already.
- Check that the Appwrite API credentials (endpoint, project ID, API key) are correctly configured and have sufficient permissions.
- Common error messages may include authentication failures, invalid user ID, or invalid/expired secret token. Resolving these typically involves verifying credentials, user existence, and token validity.
Links
- Appwrite Account Update Phone Verification API - Official documentation for the Appwrite API method to update phone verification status on user accounts.