To successfully list the Group rules through API calls, a specific procedure must be followed. This procedure is discussed further in this article.
- API
- Group Rules
Prerequisites
- Postman configured for the org environment as described on the Test the Okta REST APIs using Postman article.
- An Okta Org.
- Okta Groups API Collection imported into Postman.
To list Group Rules via API, the following procedure is in place:
-
Set up the Postman app as described in the Test the Okta REST APIs using Postman article.
-
Import the Okta Groups Collection found on the Okta Groups API Collection Okta developer page.
-
Prepare the List Group Rule API call and press Send.
NOTE: In the Okta collection, the API Admins may use any of the List rules with operation calls, which can be modified by removing the parameter by deselecting it from the Params section of the call.
-
The response received will be a 200 OK, along with all the data for the rules on the tenant, which can be converted into a CSV using a converter.
