Create a manages relation (or update the existing one) between two roles When a valid childRolePassword query parameter is specified, the call can be executed when the user is a member of an autorizing role which has direct or indirect roleManagement rights for the parent role of the newly created (or updated) manages relation. When no childRolePassword query parameter is provided, a user can only execute this action if he is a member of an autorizing role which has: direct or indirect roleManagement rights for the parent role of the newly created (or updated) manages relation indirect roleManagement rights for the child role of the newly created (or updated) manages relation
Authorization
accessBearerAuth In: header
Path Parameters
0 <= valueQuery Parameters
0 <= valueRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://api.eniris.be/v1/role/0/manages?childRoleId=0" \ -H "Content-Type: application/json" \ -d '{ "roleManagement": true, "userManagement": true, "viewManagement": true, "deviceManagement": true, "reportManagement": true, "alarmManagement": true }'Collect manages relations POST
Get all (or some of) the manages relations which start from a role of which a user is a member (either directly or indirectly).
Update an existing manages relation PUT
Update an existing manages relation. A user can only execute this action if he is a member of an autorizing role which has (direct or indirect) roleManagement rights for the parent role of the manages relation
