Documentation Index
Fetch the complete documentation index at: https://www.plain.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
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
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
}
}
}
}
{
"input": {
"memberIdentifiers": [
{
"tenantId": "te_123"
},
{
"companyId": "co_123"
}
],
"tierIdentifier": { "externalId": "XXX" }
}
}