Auth0 Home Blog Docs

How to move users to a different database connection

users
tier1

#1

I want to essentially “merge” the users in one database connection into another. I’ve looked at using export then import but setting up the filters looks a bit messy.

Is there an easy way to do this?


#2

Besides User Import/ Export Extension, another option for transferring users from one tenant or DB connection to another is to use the Management API. Note that this option does not make password hashes available. Once a user is transferred via the Auth0 Management API, the password reset flow would need to be triggered. The management api is:
https://auth0.com/docs/api/management/v2 .
You can use the list/search users, get user, and create a user to transfer users from one tenant/connection to another.
The password reset flow, in this case, can be triggered via the authentication API:
https://auth0.com/docs/api/authentication

Below is the change password endpoint in particular
https://auth0.com/docs/api/authentication#change-password


#3