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.

isResponsiblebooleanRequired

Whether the user should be marked as responsible.

Response

OK

idUUIDOptional

The id of the project member entity.

userIdUUIDOptional

The id of the user who is this project member.

firstNamestring or nullOptional

The first name of the user.

lastNamestring or nullOptional

The last name of the user.

hasImageboolean or nullOptional

Whether the user has an image.

projectRoleIdUUIDOptional

The project role of the project member.

projectRoleNamestring or nullOptional

The project role name of the project member.

isResponsiblebooleanOptional

Whether the user is responsible for this project.

isDeactivatedbooleanOptional

Whether the user is deactivated.

isExternalbooleanOptional

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