Add actor to project role
Adds an actor (user or group) to a project role. For user actors, their usernames should be used.
POST
/api/2/project/{projectIdOrKey}/role/{id}Authorization
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
Path parameters
projectIdOrKeystringrequiredThe project id or project key
idinteger<int64>requiredThe project role id
Request body
requiredapplication/jsonThe actors to add to the role
emptybooleanResponses
200
Role details and its actors after modification
actorsRoleActorBean[]Show propertiesHide properties
Array of
RoleActorBeannamestringdescriptionstringidinteger<int64>namestringselfstring<uri>404
Returned if the project or role is not found, the calling user does not have permission to view it or does not have permission to modify the actors in the project role.
410
Returned if none of the specified groups and users exist.