Bulk delete in Okta developer dashboard

Is there a way to bulk delete deactivated users? Or is it only possible via API?

Only API for now, Iā€™m going to move this to an ER.

Help us build the business case by voting for the idea here:

I made some python code that deletes users. It leaves users who are part of some group. Perhaps it can be of help to you. Or somebody else