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.
Authentication
AuthorizationBearerSend your token in the Authorization: Bearer <token> header. See Authentication for API keys and OAuth.
Path parameters
projectIdstringRequiredThe id of the project.
Request body Required
The model containing project member details.
application/json
userIdstringRequiredThe id of the member.
projectRoleIdstringRequiredThe id of the project role for this member.
isResponsiblebooleanOptionalWhether the user should be marked as responsible.
Responses
200 OK
application/json
idstringOptionalThe id of the project member entity.
userIdstringOptionalThe id of the user who is this project member.
firstNamestring or nullOptionalThe first name of the user.
lastNamestring or nullOptionalThe last name of the user.
hasImageboolean or nullOptionalWhether the user has an image.
projectRoleIdstringOptionalThe project role of the project member.
projectRoleNamestring or nullOptionalThe project role name of the project member.
isResponsiblebooleanOptionalWhether the user is responsible for this project.
isDeactivatedbooleanOptionalWhether the user is deactivated.
isExternalbooleanOptionalTrue if this entity is coming from an external workspace (awork Connect).