assignContactToProject
Assigns a contact to a project, or updates the role, department, kind and access role of an existing assignment, and returns the assignment. Requires edit access to the project's people. Giving an editing role to a linked account outside the space uses an editor seat of the space's plan.
Arguments
The contact and their role.
projectIdID!ID of the project.
Returns
ProjectContactAssignment!Example
mutation AssignContactToProject($input: ProjectContactAssignmentInput!, $projectId: ID!) {
assignContactToProject(input: $input, projectId: $projectId) {
accessRole
contactId
createdAt
department
id
kind
projectId
role
}
}