Adds a member to the specified project.

Adds a member to the specified project. The member can be responsible when no other responsible member exists, and the selected role must be available for the project's type. <Check title="Required Permissions" icon="key">The user must be the project creator or have `project-master-data:manage` permission for the project.</Check>

Authentication

AuthorizationBearer

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

Path parameters

projectIdstringRequiredformat: "uuid"
The id of the project.

Request

The model containing project member details.
userIdstringRequiredformat: "uuid"
The id of the member.
projectRoleIdstringRequiredformat: "uuid"
The id of the project role for this member.
isResponsiblebooleanOptional
Whether the user should be marked as responsible.

Response

OK
idstringOptionalformat: "uuid"
The id of the project member entity.
userIdstringOptionalformat: "uuid"
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.
projectRoleIdstringOptionalformat: "uuid"
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).