To successfully manage group administrator role assignments through API calls, a specific procedure must be adhered to.
NOTE: This is an example of using the POSTMAN API client to make changes using Okta API. Please use an API development tool that best suits the organization's needs.
- API
- Groups
- Group Roles
- Roles
Prerequisites
-
Postman configured for the org environment as described on the Test the Okta REST APIs using Postman article.
-
An Okta Org.
-
Okta Administrator Roles Collection imported into Postman.
Follow the steps or video below:
-
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 Administrator Roles Collection Okta developer page.
-
Prepare the Assign a Role to a Group or Unassign a Role from a Group API call and press Send.
-
The response received will be a 200 OK, and the role will be assigned to the group.
Related References
- Okta Administrator Roles Collection
- Postman
- Test the Okta REST APIs using Postman
- Assign a Role to a Group
- Unassign a Role from a Group
