Role
A user can only execute this action if he is a member of an autorizing role which has indirect roleManagement rights for the updated role.
Authorization
accessBearerAuth AuthorizationBearer <token>
In: header
Path Parameters
roleId*integer
Range
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" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "selfRights": { "roleManagement": true, "userManagement": true, "viewManagement": true, "deviceManagement": true, "reportManagement": true, "alarmManagement": true } }'