I want to get all groups assigned to some application with filtering/search, below I’ve described next approaches which I tried:
-
Get assigned group for application
/api/v1/apps/{app_id}/groups?expand=group&limit=10&search=profile.description eq “test”
I’ve added the ?expand=group param to be able to see the group-related info, however, the search param won’t be applied because the search isn’t working with _embedded object.
https://developer.okta.com/docs/reference/api/groups/
-
List Groups
/api/v1/groups?expand=app&limit=4&search=profile.description eq “test”
I’m able to search and filter groups, however when I try to add the ?expand=app attribute I don’t receive any additional information (i.e. _embedded object), I think it’s some kind of issue because I’ve added this param according to documentation.
https://developer.okta.com/docs/reference/api/groups/
So, in this case, I am not able to get application information…
According to that, I am wondering how I can all groups assigned to some application with filtering or searching?