Skip to main content
Using TypeScript? Check out our GraphQL SDK for a fully typed client.
You can add multiple tenants and companies to a tier in a single mutation. Companies and tenants can only be in a single tier. For this mutation you need the following permissions:
  • tierMembership:read
  • tierMembership:create
Query
mutation addMembersToTier($input: AddMembersToTierInput!) {
  addMembersToTier(input: $input) {
    memberships {
      __typename
      ... on TenantTierMembership {
        id
        tenantId
      }
      ... on CompanyTierMembership {
        id
        companyId
      }
    }
    error {
      message
      type
      code
      fields {
        field
        message
        type
      }
    }
  }
}
Variables
{
  "input": {
    "memberIdentifiers": [
      {
        "tenantId": "te_123"
      },
      {
        "companyId": "co_123"
      }
    ],
    "tierIdentifier": { "externalId": "XXX" }
  }
}