Asignar un grupo a un grupo padre con API REST

Hola, me gustaría saber como puedo asignar a un grupo, un grupo Padre utilizando el API REST.
Los grupos los creo sin problemas, pero no consigo saber como puedo asociarlos.

Version de bonita 6.2
Gracias.

Hello,
sorry, I am not able to provide an answer in Spanish, but I believe that an answer in English will be better than nothing :slight_smile:
You should do a POST on an url like:
http://yourserver:8080/bonita/API/identity/group/
with a body like:
{“icon”:“”,“name”:“test”,“displayName”:“”,“parent_group_id”:“5”,“description”:“”}

where name will be your group name and parent_group_id is the ID of the parent group into which you add a new group.
Or, if you are updating an already created group, you should do a PUT on a url like:

http://yourserver:8080/bonita/API/identity/group/101

(where the number in url is the ID of your group), using a body like:

{“id”:“101”,“icon”:“”,“name”:“test”,“displayName”:“test”,“parent_group_id”:“7”,“description”:“”}

where id is the ID of your group, and parent_group_id is the ID of the parent group into which you want to add your group.
Espero que esto te ayudara,
Haris

Hello .

I have a problem similar to what you had.

  Can you share what file you modified to make it work?

Y ..

Can you share the entire content of that file so that I can read it so I understand what is wrong with my permissions?

If you can send it here. weglineduardo@hotmail.com. Greetings and thanks

Thank you very much. This attribute can not see them anywhere in the API documentation.
Thanks for the help.