Re: Create child role via REST

2017-06-15 Thread Antonio Ciancio
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

Re: Create child role via REST

2017-06-15 Thread Antonio Ciancio
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"] "}"