Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for "expand" parameter on GroupApi.GetGroup() #429

Open
RyAndrew opened this issue Dec 6, 2024 · 0 comments
Open

Add support for "expand" parameter on GroupApi.GetGroup() #429

RyAndrew opened this issue Dec 6, 2024 · 0 comments

Comments

@RyAndrew
Copy link

RyAndrew commented Dec 6, 2024

Describe the feature request?

The groups API supports expand=stats to get the number of users and apps for a group.

This api call functions as expected:
GET /api/v1/groups/00ga1c6156kOI1Kch297?expand=stats

"_embedded": {
    "stats": {
        "usersCount": 10606,
        "appsCount": 2,
        "groupPushMappingsCount": 0,
        "hasAdminPrivilege": false,
        "_links": {
            "self": {
                "href": "https://mytenant.okta.com/api/v1/groups/00ga1c6156kOI1Kch297/stats"
            }
        }
    }
},

New or Affected Resource(s)

groupapi

Provide a documentation link

https://developer.okta.com/docs/api/openapi/okta-management/management/tag/Group/#tag/Group/operation/getGroup

Additional Information?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant