Can you move users from one tenant to another?
Is there a way to move a user from one tenant to another? Or do we have to delete and re-import?
No, a user cannot be moved between tenants in the admin user interface. You could do this via the API with a retrieve and a create in a small program, though.
How do you retrieve the whole user with password and other information? Is there any api available for the same?
Unfortunately, there's no way to extract the password and the other information via the APIs.
Options I could see working:
- if you have developer edition (or other paid edition), you could set up a connector from FusionAuth to itself (via a generic http connector). This would take time to move the users to a different tenant.
- you can get a database dump of your FusionAuth instance and run a bulk import of the user data, password, and other password settings into another tenant.
- you could move over the users, set a random password and force them to change their password by setting
passwordChangeRequired. Not sure that would definitely work; you should test this.
Hope this helps.