Ask AI
Skip to main content

Invalidate user email

Function: Invalidate user email

This action allows you to reset a user's email verification status. When this action is performed, the specified user will be required to re-verify their email address the next time they attempt to log in to the application. This is useful for security purposes or when a user's email address might have been compromised or changed externally.

Input

  • Email: The email address of the user whose email verification status you want to reset. This is a required input.
    • Type: EMAIL

Output

This action does not produce any direct output. Its primary effect is to modify the user's status within the system.

Execution Flow

Real-Life Examples

Here are some practical scenarios where you might use the "Invalidate user email" action:

Example 1: Forcing Re-verification for Security

An administrator suspects a user's account might have been accessed by an unauthorized person. To enhance security, they want to ensure the legitimate user re-confirms their email identity.

  • Inputs:
  • Result: Alice Wonderland's email verification status is reset. The next time she logs in, she will be prompted to re-verify her email address before gaining full access to her account.

Example 2: Post-Migration Email Update

After migrating user data from an old system, some users' email addresses might have been updated, but their verification status wasn't carried over. To ensure all users have current and verified emails, you can invalidate their old verification.

  • Inputs:
  • Result: Bob the Builder's email verification status is invalidated. Upon his next login, he will need to go through the email verification process, confirming his updated email address.

Example 3: Troubleshooting User Login Issues

A user reports they are unable to log in, and support suspects an issue with their email verification status. As a troubleshooting step, they decide to invalidate the email to force a fresh verification.

  • Inputs:
  • Result: Charlie Chaplin's email verification status is reset. He can then attempt to log in again, which will trigger the email verification flow, potentially resolving his login issue.