- Postman
- PowerShell
- Okta Classic Engine
Steps to convert Okta API call to run in PowerShell via Postman:
-
Generate an Okta API call in Postman or import from the Okta API collection.
-
Configure the environment in Postman to run Okta API calls, as mentioned in Test the Okta REST APIs with Postman.
-
In the API call execution section, on the right-hand side, click on the Code hyperlink.
-
Select PowerShell-RestMethod and copy the PowerShell code.
-
Paste the PowerShell code in PowerShell ISE and the body section of the code, and successfully run the API call from PowerShell.
