Import tenants from warehouse table
Changed onImport 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)
Request
- Base URLhttps://api.kater.ai
- Auth
- HTTP bearer
- or API key in header X-API-Key
Query parameters
Headers
Request body
Response
Successful Response
Changes
- breaking
response property
errorslist-of-types was widened by adding typesarrayto media typeapplication/jsonof response400 - breaking
response property
errorslist-of-types was widened by adding typesarrayto media typeapplication/jsonof response401 - breaking
response property
errorslist-of-types was widened by adding typesarrayto media typeapplication/jsonof response404 - breaking
response property
errorslist-of-types was widened by adding typesarrayto media typeapplication/jsonof response422 - info
added the new optional
headerrequest parameterX-Kater-CLI-ID - info
added the new optional
queryrequest parametersource - info
added the new optional request property
- info
added the optional property
to the response with the status
- breaking
- warning
removed the optional property
from the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- warning