OKta API to automate tombstone a Okta user Skip to main content
https://support.okta.com/help/answers?id=906f0000000i07xiac&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:
apireadonly localapireadonly local 

OKta API to automate tombstone a Okta user

Does Okta has API to automate/bulk tombstone existing user records so we can migrate from one Active Directory to another and reuse the same username in Okta for employee accounts?
Thomas KirkThomas Kirk (Okta, Inc.)
Hi Tien,

There currently isn't a public API to automate the tombstoning. However, the tombstone just sets the prefix for the username to be the ID of the user (http://developer.okta.com/docs/api/resources/users.html#user-properties) (i.e. thomaskirk@example.com becomes 00ub0oNGTSWTBKOLGLNR@example.com). You can create a similar script using one of the SDKs or custom code to perform the same functionality.