cancel
Showing results for 
Search instead for 
Did you mean: 

How to import child groups of parent groups from Keycloak

Robbe_Cronos
Regular Contributor
Regular Contributor

Hello all,

We have a use case to import all parent groups and their child groups from Keycloak. The problem we are facing is that Keycloak Child groups don't have an endpoint of their own. They are nested in the parent groups' attribute subGroups.

Robbe_Cronos_0-1669286831607.png

Our question is how we can import both of these groups (as a parent and child group). This is our JSON code at the moment but this does not work.

Robbe_Cronos_2-1669287112302.png

Any help would be appreciated.

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

What is entitlement type name for parent & child ?

also make json keyword lower case in contentType

The entitlement type is exactly the same as they are both groups in Keycloak. Or are you suggesting we should use 2 different entitlement type names?

You need parent child then it should be different ideally.