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

    update user id

    Scheduled Pinned Locked Moved
    General Discussion
    2
    2
    551
    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.
    • L
      lambert.torres
      last edited by

      For testing purposes I want to re-create an account on my local instance of FusionAuth to match what's up in our staging enviornment. Is there a way to update the FA ID for a user? I'm trying to test a scenario with an integration that's passing back a userid from an integration

      danD 1 Reply Last reply Reply Quote 1
      • danD
        dan @lambert.torres
        last edited by

        @lambert-torres

        Hiya,

        There is no way to update a user Id after the account has been created. However, you can always specify a valid UUID when creating a user (and, indeed, most other FusionAuth resources).

        Simply provide a valid UUID on the path of the POST request.

        https://fusionauth.io/docs/v1/tech/apis/users#create-a-user has more.

        Based on what you shared, that should work. Let me know if there's nuance I missed.

        Thanks for using FusionAuth!

        Dan

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 1
        • First post
          Last post