<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content

Custom Report to Display All Application IDs and Users Assigned to a Group Using the API

Lifecycle Management
Administration
Okta Classic Engine
Okta Identity Engine

Overview

Administrators require a custom report that displays all application IDs and the users assigned to a group. Use an API client to run a GET request that retrieves group details, including the user count, application count, and assigned application IDs.

Applies To

  • Okta Identity Engine (OIE)
  • Okta Classic Engine
  • API
  • Custom Reports

Solution

How are application IDs and assigned users displayed for a group?

Configure an API client and run a GET request to retrieve the group details, user count, and application count.

  1. Configure an API client, such as Postman, with Okta. Review the Related References section for more information. NOTE: Postman is used as an example. Use an API client that best fits the organization's guidelines.
  2. Run the following API call in the API client.
GET {{url}}/api/v1/groups?expand=stats,app

API
3. Review the details in the usersCount and appsCount fields to obtain the user count and application count information.
4. Locate the apps field in the response to find the endpoint for the assigned applications.
API
5. Perform a GET request on the value in the apps field to show all applications assigned to the group. For example, run the following call.

GET {{url}}/api/v1/groups/<GROUP_ID>/apps

API

Related References

Loading
Custom Report to Display All Application IDs and Users Assigned to a Group Using the API | Okta Support