AddPeopleToProjectTeamForOrgOrCoInput
InputAutogenerated input type of AddPeopleToProjectTeamForOrgOrCo
mutation { organization(id: $organizationId) { project(id: $projectId) { addPeopleToProjectTeamForOrgOrCo } } }
Example
mutation AddPeopleToProjectTeamForOrgOrCo(
$organizationId: ID!
$projectId: ID!
$input: AddPeopleToProjectTeamForOrgOrCoInput!
) {
organization(id: $organizationId) {
project(id: $projectId) {
addPeopleToProjectTeamForOrgOrCo(input: $input) {
project
errors
}
}
}
}Fields
| Field | Type | Description |
|---|---|---|
| clientMutationId | String | A unique identifier for the client performing the mutation. |
| giveProjectAccess | Boolean | — |
| inviteBody | String | Custom invitation body for human-authored invitations. Agents must omit this argument to use the approved template. |
| inviteSubject | String | Custom invitation subject for human-authored invitations. Agents must omit this argument. |
| mutationMetadata | JSON | — |
| now | ISO8601DateTime | — |
| organizationOrCompanyProjectAssociationId | ID! | If the user is a member of the organization, provide the organization ID. If the user is a member of a company within the organization, use the company project association ID for the company and project to which the user should be added to the project team. |
| projectId | ID! | — |
| sendInviteEmail | Boolean | — |
| userAssociations | [UserAssociationInput!]! | — |