v1

latestOpenAPI 3.1.02026-08-066984441.1 MB
projectMembers

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.

         <Check title="Required Permissions" icon="key">The user has to be the creator or needs `project-master-data:manage` permissions on the project.</Check>
post/projects/{projectId}/updateprojectmember

Path parameters

projectIdstring uuid required

The id of the project.

Headers

Authorizationstring required

Bearer authentication

Request body

userIdstring uuid required

The id of the member.

projectRoleIdstring uuid required

The id of the project role for this member.

isResponsibleboolean

Whether the user should be marked as responsible.

Response

OK

idstring uuid

The id of the project member entity.

userIdstring uuid

The id of the user who is this project member.

firstNamestring nullable

The first name of the user.

lastNamestring nullable

The last name of the user.

hasImageboolean nullable

Whether the user has an image.

projectRoleIdstring uuid

The project role of the project member.

projectRoleNamestring nullable

The project role name of the project member.

isResponsibleboolean

Whether the user is responsible for this project.

isDeactivatedboolean

Whether the user is deactivated.

isExternalboolean

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