FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    What happens if I update a user’s email address to an existing one?

    Scheduled Pinned Locked Moved
    Q&A
    1
    2
    2.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      vinicius.campitelli
      last edited by

      Using both the UI or the API?

      1 Reply Last reply Reply Quote 0
      • V
        vinicius.campitelli
        last edited by

        You'll receive an error in both scenarios.

        If you are using the web interface, you'll get a red message saying "Already exists".

        forum-edit-user-email.png

        And if you are trying to use the Update User API endpoint, you'll receive a HTTP 400 Bad Request error:

        forum-edit-user-email-api.png

        1 Reply Last reply Reply Quote 0
        • V vinicius.campitelli marked this topic as a regular topic on
        • First post
          Last post