> ## 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.

# setCustomerTenants

> Replaces the full set of tenant memberships for a customer in a single call.
Any tenants not included in the input are removed; any new ones are added.
Use this when syncing tenant membership from your own system rather than tracking individual add/remove changes.
Requires the `customer:edit`, `customerTenantMembership:create`, and `customerTenantMembership:delete` permissions.

