Remove permissions from a role
PUT/api/v1/RolesRole/:roleId/Permission
Removes permissions from a role. Send the IDs of the permissions to remove. Removing Live Session Viewer also removes Terminate Session and Lock Session, and removing Reporting also removes Admin View Read Only.
Permission required: Administrator role.
Request
Responses
- 200
- 400
- 403
- 404
Returns the number of permissions removed, including permissions removed because they depend on another one.
The permissions could not be removed.
The signed-in user does not have the required role, or the account has read-only administrator access.
The role does not exist.