tenants
Import tenants from warehouse table
Import tenants from a warehouse table using upsert semantics.
Creates new tenants and updates existing ones with new name/groups. Groups are added additively (not replaced).
Streams data from the warehouse in batches to handle large datasets without loading everything into memory.
For tenants with groups, groups are aggregated per tenant key and auto-created if they don't exist.
RLS: Filtered to current client (ClientRLSDB).
Raises: ConnectionNotFoundError: If the connection doesn't exist (404) TenantCreationNotAllowedError: If tenancy type is NONE (400)
post/api/v1/tenants/import/warehouse
Query parameters
sourcestring nullable
Headers
X-Kater-CLI-IDstring nullable
Request body
Response
Successful Response