tenants
Update Tenant
Update tenant settings and configuration.
Purpose: Complete your organization setup or modify settings
👤 For Business Users After Signup: After signing up, your tenant is auto-created with minimal fields (just name). Use this endpoint to complete your organization setup:
- Set your organization name properly
- Configure billing plan (starter/business/enterprise)
- Set usage limits (max_concurrent_calls, monthly_call_limit)
- Enable features (SIP, recording, analytics)
- Configure compliance (HIPAA, PCI for healthcare/finance)
What it does:
- Update organization name and billing plan
- Adjust usage limits and concurrent call capacity
- Enable/disable features (SIP, recording, analytics)
- Change compliance settings (HIPAA, PCI)
- Update SIP credentials (automatically encrypted)
- Modify webhook configuration for integrations
Common Use Cases:
- Initial Setup: After signup, set your org name and billing plan
- Upgrade subscription: Change billing_plan, increase limits
- Enable phone calls: Set sip_enabled=true, configure SIP details
- Enable enterprise features: Set hipaa_enabled=true, pci_enabled=true
- Update webhook: Change webhook_url for event notifications
Your tenant_id = your owner_id (returned in login token)
Security Notes:
- SIP passwords are automatically encrypted before storage
- Webhook secrets are stored securely
- All changes are logged for audit trail
PUT
Update Tenant
Documentation Index
Fetch the complete documentation index at: https://docs.mrassistant.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Tenant update model.
Required string length:
1 - 255Required range:
1 <= x <= 1000Required range:
x >= 0Response
Successful Response
Tenant response model.
Required string length:
1 - 255Required string length:
1 - 100Required range:
1 <= x <= 1000Required range:
x >= 0Previous
Delete TenantDelete tenant from the platform (PERMANENT).
**Purpose:** Remove a tenant/organization from the platform
**What it does:**
- Permanently deletes tenant account
- Used when customer cancels service
- Removes all tenant data from the system
**⚠️ WARNING - CASCADE DELETE:**
This operation permanently deletes ALL related data:
- **All agents** created by this tenant
- **Call history and recordings** (all calls)
- **Workflows and integrations** (custom flows, API configs)
- **Files and logs** (knowledge base, activity logs)
- **SIP trunks** (phone number configurations)
- **Squad configurations** (agent teams)
**Use Cases:**
- Customer account cancellation
- Service termination
- Data cleanup after trial expiration
**Recommended Practice:**
- Export/backup tenant data before deletion
- Verify tenant has no active calls/sessions
- Notify customer before deletion
- Consider soft-delete (status=inactive) instead
Next
Update Tenant