Skip to content

Okta User Lifecycle Management via Okta API. Perform Okta users Deletion / Updation / Activation in bulk via Okta API.

Notifications You must be signed in to change notification settings

vipulkaneriya/DELETE-OKTA-USERS-IN-BULK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Delete Okta Users in Bulk

===== delete_okta_users.py =====

DELETE the Okta users in BULK based on its status.

This code is written in Python language and uses multi-threading to furiously delete the Okta users.

Please update the environment variables in a file named '.env' as below:

 OKTA_URL=[https://<>.okta.com]
 OKTA_API_TOKEN=[Use your API Token which has privilege to delete users ]

Please initialize the variables as per your requirement:

 DELETE_FLAG   [YES | NO]
 GETUSER_FLAG  [YES | NO]
 DELETE_FILTER   ["DEPROVISIONED" (Deactivated) | "PROVISIONED" | "SUSPENDED" | "STAGED" | "ACTIVE"]
      (Delete users based on its current status.)
 GETUSER_FILTER  ["DEPROVISIONED" (Deactivated) | "PROVISIONED" | "SUSPENDED" | "STAGED" | "ACTIVE"]
      (to list all Staged users before deleting or activating users)

Developed By : Vipul Kaneriya.

About

Okta User Lifecycle Management via Okta API. Perform Okta users Deletion / Updation / Activation in bulk via Okta API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages