Okta Deactivator
Bulk deactivating users in Okta can be a pain, so we’re leveraging the Okta SDK to streamline the process and take the pain out of identity management.
What is the use case?
If you’ve ever had to bulk deactivate users in Okta without an HR system as a master, you know the struggle is real. I’ve been there—digging through Reddit threads, scouring support forums, even dealing with Okta support, only to realize... there was no simple, easy-to-use tool. Instead, I was stuck with Postman, weird scripts, and other clunky workarounds.
So, I built this. Because sometimes, it’s just easier to drop a list into a CSV and let the API do the heavy lifting. No more manual clicks. No more frustration. Just automation that works.
Your API token and CSV data are never stored or transmitted to any servers. This tool runs entirely locally and only makes direct Okta API calls to Okta API endpoints—nothing leaves your machine. 🔒
Downloads
Don't be a fool—always verify the hashes before running anything. If the checksum doesn’t match, you might be downloading trouble. 🔥💀
OktaDeactivator_v1.0.1 for Linux and MacOS
OktaDeactivator_v1.0.1.exe for Windows
Read me!
What you'll need:
Know your Okta subdomain
Have an Okta API Token (make sure it has the proper permissions)
Have your CSV sheet ready with the list of users you want to deactivate. You can download the template here.
If you're on Linux or macOS, fire up your terminal and run this command—just make sure to replace /path/to
with the actual path to your binary. ⬇️
If you're using Windows, just run the exe, and you'll see the CLI popup box.
If everything loads properly, this is what you'll see below. Answer the prompts, and the tool will work its magic!
Make sure you don’t exceed your Okta API rate limit! I highly recommend being conservative with the delay (in seconds), especially if you're working with a large list. There’s no limit to how many users you can add to the CSV sheet, so pace your requests wisely.
Common mistakes that will lead to errors!
Incorrect Okta subdomain
Incorrect Okta API token value, or you pasted it incorrectly
The Okta account used to generate the API token lacks the necessary permissions to complete the task.
The CSV sheet used doesn't have the correct cell column header. I recommend you download and use the template here.
You were naughty and exceeded your Okta API limit!
Changelog
v1.0.1 - Minor fix (2025-02-13)
This is a minor fix to ensure there's no limit on the number of users that can be processed in the CSV.
v1.0.0 - Initial Release (2025-02-12)
🚀 New Features
Initial release of the project.
Packages Used
Last updated