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.

Required Permissions: The user has to be the creator of the project or needs manage permissions of the feature project-master-data.

Path parameters

projectIdUUIDRequired
The id of the project.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
userIdUUIDRequired
The id of the member.
projectRoleIdUUIDRequired
The id of the project role for this member.
isResponsiblebooleanOptional
Whether the user should be marked as responsible.

Response

OK
idUUID or null
The id of the project member entity.
userIdUUID or null
The id of the user who is this project member.
firstNamestring or null
The first name of the user.
lastNamestring or null
The last name of the user.
hasImageboolean or null
Whether the user has an image.
projectRoleIdUUID or null
The project role of the project member.
projectRoleNamestring or null
The project role name of the project member.
isResponsibleboolean or null
Whether the user is responsible for this project.
isDeactivatedboolean or null
Whether the user is deactivated.
isExternalboolean or null

True if this entity is coming from an external workspace (awork Connect).