Remove activities and groups from a role
PUT/api/v1/RolesRole/:roleId/ActivityOrGroup
Removes activities or activity groups from the scope of a role. Use it to narrow the activities that role members can work with.
Permission required: Administrator role.
Values for entityType: 0 = Activity, 1 = ActivityGroup.
Request
Responses
- 200
- 400
- 403
- 404
Returns the number of entries removed.
The entries 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.