Removes default actor from a role
Removes default actor from the given role.
DELETE
/api/2/role/{id}/actorsAuthorization
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
Path parameters
idinteger<int64>requiredThe role id to remove the actors from
Query parameters
userstringIf given, removes an actor from given role
groupstringIf given, removes an actor from given role
Responses
200
Returns updated actors list.
actorsRoleActorBean[]Show propertiesHide properties
Array of
RoleActorBeannamestring400
Returned if user and group are not given, both user and group are given or provided group or user does not exist.
401
Returned if the requesting user is not logged in.
403
Returned if the requesting user is not an admin or a sysadmin.
404
Returned if the role with the given id does not exist.