Update project role with actors
Updates a project role to include the specified actors (users or groups). Can be also used to clear roles to not include any users or groups. For user actors, their usernames should be used.
PUT
/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 set for the role
categorisedActorsobjectidinteger<int64>Responses
200
Role details and its actors after modification
actorsRoleActorBean[]Show propertiesHide properties
Array of
RoleActorBeannamestringdescriptionstringidinteger<int64>namestringselfstring<uri>404
Returned if the actor could not be added to the project role