Mutations
upsertTenant
Creates a new tenant or updates an existing one identified by externalId or tenantId.
Use this to keep Plain’s tenant records in sync with the groups or organisations in your own product.
The result field on the output indicates whether a record was created or updated.
Requires the tenant:read and tenant:create permissions.
MUTATION
upsertTenant(input: UpsertTenantInput!): UpsertTenantOutput!Arguments
input
required
Returns
tenant
result
error
Mutation
Variables
Response
Mutation
Variables
Response

