# Restore users deleted along with connection

**URL:** <https://community.auth0.com/t/restore-users-deleted-along-with-connection/118823>\
**Category:** Get Help\
**Tags:** passwordless-email-connection, connections\
**Created:** [October 18, 2023, 2:41pm UTC](https://community.auth0.com/t/restore-users-deleted-along-with-connection/118823 "2023-10-18T14:41:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![vtereshyn](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vtereshyn/32/51587_2.png) [@vtereshyn](https://community.auth0.com/u/vtereshyn)\
**Post date:** [October 18, 2023, 2:41pm UTC](https://community.auth0.com/t/restore-users-deleted-along-with-connection/118823/1 "2023-10-18T14:41:53Z")

</div>

Good day!

We’ve removed the email connection in one of our tenants, so we lost users created within that connection. Is there a way to restore users somehow? Thank you

FYI @dan.woda

---

<div class="post-metadata">

**Author:** ![vtereshyn](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vtereshyn/32/51587_2.png) [@vtereshyn](https://community.auth0.com/u/vtereshyn)\
**Post date:** [October 18, 2023, 5:55pm UTC](https://community.auth0.com/t/restore-users-deleted-along-with-connection/118823/2 "2023-10-18T17:55:56Z")

</div>

If it is not possible than will be good to receive at least of list of removed user ids

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 18, 2023, 6:31pm UTC](https://community.auth0.com/t/restore-users-deleted-along-with-connection/118823/4 "2023-10-18T18:31:47Z")

</div>

Hi @vtereshyn,

You can retrieve a list of the deleted users by looking at the log operations. Take a look at this FAQ:

[https://community.auth0.com/t/request-the-list-of-deleted-users/90889](https://community.auth0.com/t/request-the-list-of-deleted-users/90889)

---

<div class="post-metadata">

**Author:** ![vtereshyn](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vtereshyn/32/51587_2.png) [@vtereshyn](https://community.auth0.com/u/vtereshyn)\
**Post date:** [October 18, 2023, 6:39pm UTC](https://community.auth0.com/t/restore-users-deleted-along-with-connection/118823/5 "2023-10-18T18:39:32Z")

</div>

No, I can’t. These logs show only users deleted directly through the API or through Dashboard. In my case users have been deleted along with email connection through the API call. Is there a possibility to restore connection and all their users? Or just users? Or at least get their ids?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 18, 2023, 6:55pm UTC](https://community.auth0.com/t/restore-users-deleted-along-with-connection/118823/6 "2023-10-18T18:55:43Z")

</div>

@vtereshyn,

Unfortunately, no, we don’t keep a backup of users. I wish I had a better answer, but the action is not reversible.

---

<div class="post-metadata">

**Author:** ![vtereshyn](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vtereshyn/32/51587_2.png) [@vtereshyn](https://community.auth0.com/u/vtereshyn)\
**Post date:** [October 18, 2023, 6:59pm UTC](https://community.auth0.com/t/restore-users-deleted-along-with-connection/118823/7 "2023-10-18T18:59:22Z")

</div>

Thanks for your response

---

<div class="post-metadata">

**Author:** ![vtereshyn](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vtereshyn/32/51587_2.png) [@vtereshyn](https://community.auth0.com/u/vtereshyn)\
**Post date:** [October 18, 2023, 7:57pm UTC](https://community.auth0.com/t/restore-users-deleted-along-with-connection/118823/8 "2023-10-18T19:57:16Z")

</div>

If I found some of user’s emails and user ids, is there a way to import this data and assign them to a new email connection?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 19, 2023, 1:29pm UTC](https://community.auth0.com/t/restore-users-deleted-along-with-connection/118823/9 "2023-10-19T13:29:07Z")

</div>

Hi @vtereshyn,

You can import users with [Bulk User Imports](https://auth0.com/docs/manage-users/user-migration/bulk-user-imports) or via the management API.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 2, 2023, 1:29pm UTC](https://community.auth0.com/t/restore-users-deleted-along-with-connection/118823/10 "2023-11-02T13:29:52Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
