How to Delete Duplicate User Accounts in FusionAuth
-
We’re encountering duplicate user accounts in FusionAuth because some users have logged in with different IDs. We want to ensure that each user only has a single account. Can you provide guidance on how to delete duplicate accounts in FusionAuth?
-
If you’ve identified which duplicate accounts need to be removed, FusionAuth provides APIs to help manage this process. For smaller numbers of users, you can use the Delete User API, which allows you to either hard-delete or soft-delete (deactivate) a user account.
If you’re dealing with many duplicate accounts, the Bulk Delete Users API may be a more efficient option to handle multiple deletions in one request.
These APIs can help you clean up your user records and ensure each person has only one account in your FusionAuth system.