Adds default actors to a role
Adds default actors to the given role. The request data should contain a list of usernames or a list of groups to add.
POST
/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
Request body
application/jsongroupstring[]userstring[]Responses
200
Returns actor list.
actorsRoleActorBean[]Show propertiesHide properties
Array of
RoleActorBeannamestring400
Returned if the request json does not have a user or group field or both user and group fields are given.
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.