[keycloak-user] Create Group Child (subgroup) under existing group via REST API

Juraj Janosik juraj.janosik77 at gmail.com
Mon Jan 11 04:05:04 EST 2016


Hi,
how it possible to setup parent group id in the Create Child (subgroup),
if I want to create a child group under existing group via REST API?

If I set the "id" with existing group in the request body (mentioned as
parent), nothing happens.

Behaviour in the Admin console is OK.

Definition:
http://keycloak.github.io/docs/rest-api/index.html#_create_or_add_a_top_level_realm_groupset_or_create_child

Description: This will update the group and set the parent if it exists.
Create it and set the parent if the group doesn’t exist.

Body parameter: Group representation
http://keycloak.github.io/docs/rest-api/index.html#_grouprepresentation

Thanks.

Best Regards,
Juraj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160111/888e7cbd/attachment.html 


More information about the keycloak-user mailing list