Manages

Create or update a manages relation

Create a manages relation (or update the existing one) between two roles<br><br> 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.<br><br> 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: <ul> <li> direct or indirect roleManagement rights for the parent role of the newly created (or updated) manages relation </li> <li> indirect roleManagement rights for the child role of the newly created (or updated) manages relation </li> </ul>

put/v1/role/{parentRoleId}/manages

Path parameters

parentRoleIdinteger required

Id of the parent role of the newly created (or updated) manages relation

Query parameters

childRoleIdinteger required

Id of the parent role of the newly created (or updated) manages relation

childRolePasswordstring

Password for the child role of the newly created (or updated) manages relation

Request body

roleManagementboolean required

Indicates that the parent role has the right to attach the child role and its decendants to any other role.

userManagementboolean required

Indicates that the parent role has the right to manage member relations for the child role and its decendants.

viewManagementboolean required

Indicates that the parent role has the right to manage views relations for the child role and its decendants.

deviceManagementboolean required

Indicates that the parent role has the right to manage monitors relations for the child role and its decendants.

reportManagementboolean required

Indicates that the parent role has the right to manage "views report relations" for the child role and its decendants

alarmManagementboolean required

Indicates that the parent role has the right to manage "alarm relations" for the child role and its decendants

Response

The newly created (or updated) manages relation

Changes

No recorded changes to this endpoint across all 1 revision of this API.