create_or_update_tenant
Create or replace a tenant. Tenants represent organizations or groups that users belong to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name for the tenant | |
| brand_id | No | Brand ID to associate with this tenant | |
| tenant_id | Yes | The tenant ID | |
| properties | No | Custom properties for the tenant | |
| user_profile | No | Default profile data for users in this tenant | |
| parent_tenant_id | No | Parent tenant ID for hierarchical tenants | |
| default_preferences | No | Default notification preferences applied to users in this tenant. Example: { "items": [{ "id": "topic_abc", "status": "OPTED_IN", "type": "subscription_topic" }] } |