Adds a project member to the project with the specified id.

POST

Adds a project member to the project with the specified id. The new 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 added. A project role is available when they are connected to the specified project type of the project. A user can only be added to the project once.

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

Path parameters

projectIdstringRequired

The id of the project.

Request

This endpoint expects an object.
userIdstringRequired

The id of the member.

projectRoleIdstringRequired

The id of the project role for this member.

isResponsiblebooleanRequired

Whether the user should be marked as responsible.

Response

OK

idstringOptional

The id of the project member entity.

userIdstringOptional

The id of the user who is this project member.

firstNamestringOptional

The first name of the user.

lastNamestringOptional

The last name of the user.

hasImagebooleanOptional

Whether the user has an image.

projectRoleIdstringOptional

The project role of the project member.

projectRoleNamestringOptional

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).