Updates the role of a project member of the project with the specified id.
Changes the role of a project member.
The project member can also be set as a responsible project member, but only if no other member of this project is
responsible.
It is necessary that the project role is available in this project, otherwise the member cannot be updated.
A project role is available when they are connected to the specified project type of the project.
<Check><b>Required Permissions</b>: The user has to be the creator of the project or needs `manage` permissions of the feature `project-master-data`.</Check>
Path parameters
projectId
The id of the project.
Headers
Authorization
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Request
The model to update the project member.
userId
The id of the member.
projectRoleId
The id of the project role for this member.
isResponsible
Whether the user should be marked as responsible.
Response
OK
id
The id of the project member entity.
userId
The id of the user who is this project member.
firstName
The first name of the user.
lastName
The last name of the user.
hasImage
Whether the user has an image.
projectRoleId
The project role of the project member.
projectRoleName
The project role name of the project member.
isResponsible
Whether the user is responsible for this project.
isDeactivated
Whether the user is deactivated.
isExternal
True if this entity is coming from an external workspace (awork Connect).