projectMembers

Updates a member of the specified project.

Changed on

Changes the member's role or responsible status. The selected role must be available for the project's type, and only one responsible member is allowed. <Check title="Required Permissions" icon="key">The user must be the project creator or have project-master-data:manage permission for the project.</Check>

post/projects/{projectId}/updateprojectmember

Request

  • Base URL: https://api.awork.com/api/v1
  • URL: https://api.awork.com/api/v1/projects/{projectId}/updateprojectmember
  • Auth: HTTP bearer

Path parameters

projectIdstring uuid required

The id of the project.

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

Changes

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security oauth2 was added to the API

    • info

      api operation id PostProjectUpdateProjectMemberByProjectId removed and replaced with projectMembers_PostProjectUpdateProjectMemberByProjectId