TomH.17077 (Customer) asked a question.
We are testing the integration of our HR app into the Okta sandbox Universal Directory, along with Active Directory. We would like to clear out the test users we have imported so we can start with a blank slate. How do we do that?

You can bulk-delete users via the API. Details are here:
https://support.okta.com/help/s/article/How-To-Perform-a-Bulk-Delete-of-Okta-Users-With-API
Hello Tom,
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,
Mike Davie
Okta Help Center