GraphQL reference

AddOrganizationUserInput

Input

Autogenerated input type of AddOrganizationUser

mutation { organization(id: $organizationId) { addOrganizationUser } }

Example

mutation AddOrganizationUser(
  $organizationId: ID!
  $input: AddOrganizationUserInput!
) {
  organization(id: $organizationId) {
    addOrganizationUser(input: $input) {
        organizationMembership
        errors
      }
  }
}

Fields

FieldTypeDescription
clientMutationIdStringA unique identifier for the client performing the mutation.
emailString!—
firstNameString!—
inviteBodyStringCustom invitation body for human-authored invitations. Agents must omit this argument to use the approved template.
inviteSubjectStringCustom invitation subject for human-authored invitations. Agents must omit this argument.
jobTitleString—
lastNameString!—
membershipIdID!—
mobilePhoneNumberString—
mutationMetadataJSON—
newUserIdID!—
officePhoneNumberString—
roleString!—
sendEmailNotificationBoolean!—