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 Email Verification
AI-generatedOverview
This node interacts with the Appwrite API to update the email verification status of a user. It is useful in scenarios where you need to programmatically mark a user's email as verified or unverified, such as after manual verification or automated checks. For example, it can be used in user management workflows to ensure the email verification status is accurately reflected in the system.
Use Case Examples
- Mark a user's email as verified after they complete a verification process.
- Revoke email verification status if suspicious activity is detected on the user's account.
Properties
| Name | Meaning |
|---|---|
| User ID | The unique identifier of the user whose email verification status is to be updated. |
| Email Verified | Boolean flag indicating whether the user's email should be marked as verified (true) or not (false). |
Output
JSON
userId- The ID of the user whose email verification status was updated.emailVerified- The updated email verification status of the user.
Dependencies
- Requires an Appwrite API key credential with access to user management endpoints.
Troubleshooting
- Ensure the provided User ID is valid and exists in the Appwrite project; otherwise, the operation will fail.
- Verify that the API key has sufficient permissions to update user email verification status.
- Common error messages include authorization errors if the API key is invalid or lacks permissions, and not found errors if the User ID does not exist.
Links
- Appwrite Users API - Update Email Verification - Official documentation for updating user email verification status using the Appwrite API.