upsert_suprsend_tenant
Create or update a tenant (sub-account) for multi-tenant SaaS apps. Merge tenant properties like branding, timezone, and contact info.
Instructions
Create a new tenant or update an existing tenant's properties. Tenants are sub-accounts of a workspace, used to model end-customers in multi-tenant SaaS apps.
tenant_properties is merged with existing — not replaced. Pass only the fields you want to change. Common fields include name, branding URLs, and contact info.
When NOT to use:
For preference defaults — use update_suprsend_tenant_default_preference.
For users / objects within a tenant — use upsert_suprsend_user / upsert_suprsend_object.
Returns: the updated tenant on success.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tenant_id": "<tenant_id>"
},
"name": "upsert_suprsend_tenant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tenant_id | Yes | The tenant_id of the tenant to upsert. | |
| workspace | No | SuprSend workspace to get the tenant from. | |
| tenant_properties | No | The properties to upsert for the tenant. |