Get a list of deleted accounts Skip to main content
https://support.okta.com/help/answers?id=9062a000000dfkvqaw&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Vikash DayaVikash Daya 

Get a list of deleted accounts

Once an account is deleted from UD, I'm assuming that it's merely a soft delete in the database.  Is there a way for us to get a list of deleted accounts and also undelete an account if need be?
Jim MolléJim Mollé (Okta, Inc.)
Hi there Vikash...
To get a list of deleted users, you can use the System Log to enable the following filter: eventType eq "user.lifecycle.delete.initiated
(please bare in mind that the Okta System Log only retains 3 months of data, so you'll want to export the SysLog data periodically to maintain more than 3 months of events.)

However, once a user's account has been deleted, it cannot be recovered.
Dylann FezeuDylann Fezeu (Customer First Programs)
Hello,

Thanks for posting your inquiry in Okta Community Portal.

​If you receive a great answer to your question(s), please help readers find it by marking it the best answer. Hover over the answer and click "Best Answer." 

Thank you,

​Dylann Fezeu
OHC Team