Tenant lifecycle, plans and billing
Managed in ImpartLab.Manager by platform operators.
Tenant statuses
| Status | Effect |
|---|---|
| Active | Full access; API requests accepted |
| Inactive | API access blocked for all users |
| Trial | Active with a time-limited trial subscription |
Activate or deactivate a tenant
- Activate:
POST /api/tenants/activateor Manager → Tenants → Activate - Deactivate:
POST /api/tenants/disableor Manager → Tenants → Deactivate - Bulk activate:
POST /api/tenants/bulk/activate
See
DEPLOYMENT.mdin the repository root before upgrading an existing environment.
Subscription plans
- Go to Manager → Subscription plans and select New plan.
- Set the name, price, billing interval and feature limits.
- Assign the plan to a tenant under Manager → Tenants → [Tenant] → Subscription.
Subscription expiry
The expiry service runs every SUBSCRIPTION_CHECK_INTERVAL_HOURS hours (default 24). When a subscription expires, the tenant's API access is blocked. A notification is sent to the tenant's admin email, or to BILLING_NOTIFICATION_EMAIL if no admin email is set.