This Python script fetches deprovisioned users from an Okta organization and exports their email addresses to a CSV file. The script handles pagination to ensure all deprovisioned users are retrieved, even if the data spans multiple pages.
- Python 3.7+
requests
library
You can install the requests
library using pip: