Hi,
as follows, the right payload to add a child role:
{"id":0, "parent":parentRoleId, "name":"childRoleName",
"inheritOwner":false,"inheritTemplates":false, "rAttrTemplates":["attr1",
"attr2", ..., "attrN"]}
I hope it can be useful!
Regards,
Antonio
2017-06-15 10:47 GMT+02:00 Antonio
Thanks Francesco,
Must I use the same method I use to create parent roles?
"http://address:port/syncope/rest/role;
with this payload:
"{\"id\": ParentRoleId, \"name\": \"RoleParentName\", \"inheritOwner\":
false,\"inheritTemplates\": false, "rAttrTemplates":["attr1", "attr2", ...,
"attrN"] "}"