Skip to main content

Add permissions to a role

POST 

/api/v1/RolesRole/:roleId/Permission

Assigns permissions to a role by their IDs; permissions that the role already has, or that do not exist, are skipped. Terminate Session and Lock Session need Live Session Viewer, which can be sent in the same call. Adding Admin View Read Only also adds the Reporting permission.

Permission required: Administrator role.

Request​

Responses​

Returns the number of permissions added, including Reporting when it is added automatically.