Skip to content
Last update: January 30, 2024

removeMemberFromOrganization mutation

This mutation removes a member from an organization.

Arguments

The InputRemoveMemberFromOrganizationType! represents the input object used to remove a member from an organization.

Field Description
contactId {String} The Id of the contact.
organizationId {String} The Id of the organization.

Possible returns

Possible return Description
ContactType A contact and various fields to describe the contact's information.
mutation removeMemberFromOrganization(
  $command: InputRemoveMemberFromOrganizationType!
) {
  removeMemberFromOrganization(command: $command) {
    id
    name
    organizations {
      items {
        name
        id
      }
    }
  }
}
1
2
3
4
5
6
{
  "command": {
    "contactId": "2be32440-ee84-4dd5-aa9b-fcbe35bf61f0",
    "organizationId": "23eed211-ee84-4dd5-aa9b-dsacg32210"
  }
}