Appwrite icon

Appwrite

Interact with Appwrite API

Actions181

Users → Update Email Verification

AI-generated

Overview

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

  1. Mark a user's email as verified after they complete a verification process.
  2. 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

Discussion