<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
0D54z00007k08BZCAYOkta Identity EngineWorkflowsAnswered2023-06-26T10:55:47.000Z2022-06-22T11:01:59.000Z2022-06-22T17:50:54.000Z
Okta Card "Search Groups" using field "Custom Search Criteria" an param "expand=app,stats"

Hi Guys,

In Okta card "Search Groups" is there a way to add this param "expand=app,stats" within the field "Custom Search Criteria" ? I would not like to use Okta "Custom API Action" for this purpose. It works like a charm with Postman 🙂 i.e "{{url}}/api/v1/groups?search=profile.description sw "Organizational Group"&expand=app,stats" got me all those groups with their stats. Maybe it is just a question of syntax ? or not allowed ?


  • TimL.58332 (Workflows)

    Unfortunately, the answer is going to be you cannot. The "Custom Search Criteria" is specifically for the "List Groups with Search" and its constraints. You cannot even add in other common options like &limit=X

     

    https://developer.okta.com/docs/reference/api/groups/#list-groups-with-search

     

    You will need to go the Custom API Action route. If you can return more than 200 groups (Okta Limit per page) you will need to build out pagination also.

    Expand Post
This question is closed.
Loading
Okta Card "Search Groups" using field "Custom Search Criteria" an param "expand=app,stats"