Tenants Management {{ currentUser && currentUser.first_name && currentUser.last_name ? `${currentUser.first_name} ${currentUser.last_name}` : username }} {{ currentUser ? currentUser.email : '' }} Tenant: {{ getTenantId() }} mdi-logout Logout Login Menu
mdi-shield-lock
Authentication Required
Please log in to access the Tenants Management System
mdi-login Login

Tenant Dashboard

{{ stat.title }} {{ stat.value }} {{ selectedTenantForChart ? selectedTenantForChart.description + ' Statistics' : 'All Tenants Resource Statistics' }} View All

Recent Tenants

View All

Tenants

Create Tenant
mdi-arrow-left

{{ selectedTenant ? selectedTenant.description : '' }} Statistics

Storage Usage By Table
mdi-chart-areaspline

Select a tenant to view detailed statistics

View Tenants
mdi-close Tenant Details

{{ selectedTenant.description }}

{{ selectedTenant.enterprise_identifier }}

Description

{{ selectedTenant.description || 'No description provided' }}

Created

{{ formatDateTime(selectedTenant.created_at) }}

Last Updated

{{ formatDateTime(selectedTenant.updated_at) }}

Storage Used

{{ tenantStatsCollection[selectedTenant.id].total_storage || (tenantStatsCollection[selectedTenant.id].raw_stats && tenantStatsCollection[selectedTenant.id].raw_stats.total_storage) || 'N/A' }}

Subscription & Account Details

{{ getSubscriptionStatusText(selectedTenant.subscription_status) }}
Plan

{{ selectedTenant.product_type.description }}

Price

{{ selectedTenant.pricing_plan.currency.symbol }}{{ (selectedTenant.pricing_plan.amount / 100).toFixed(2) }} {{ selectedTenant.pricing_plan.currency.abbreviation }}

Usage Status
API USAGE: {{ selectedTenant.usage_status.rate_limit.current_usage }}/{{ selectedTenant.usage_status.rate_limit.daily_limit }} STORAGE: {{ selectedTenant.usage_status.storage_limit.current_storage_pretty }}/{{ selectedTenant.usage_status.storage_limit.storage_limit_pretty }} NO USAGE LIMITS
Payment Information
Customer ID: {{ selectedTenant.stripe_info.customer_id }}
Subscription ID: {{ selectedTenant.stripe_info.subscription_id }}
View Statistics
Close
mdi-close Create New Tenant

Tenant Information

Root User Information

Subscription Plan

Loading available plans...

{{ plan.productType.description }}
Free {{ plan.currency.symbol }}{{ (plan.pricingPlan.amount / 100).toFixed(0) }} /month
mdi-check-circle

Payment Information

You'll be charged {{ newTenant.subscription_plan_price }}/month for {{ newTenant.subscription_plan_name }}
Skip payment and start with free plan
Cancel Create Tenant
mdi-close Reset Daily Limits
mdi-alert-circle

Reset Daily Limits

Warning: This action will reset ALL daily limits for this tenant to zero (0).

Tenant: {{ tenantToResetLimits.description }}

Enterprise ID: {{ tenantToResetLimits.enterprise_identifier }}

This will reset:

  • Daily API request limits
  • Daily usage counters
  • Rate limiting counters
  • All tracked daily quotas
Note: This action cannot be undone. The tenant will be able to make requests up to their daily limit again.
Cancel mdi-refresh-circle Reset Limits
mdi-close Delete Tenant
mdi-alert-octagon

Permanently Delete Tenant

DANGER: This action will permanently delete the tenant and ALL associated data. This action CANNOT be undone.

Tenant Name: {{ tenantToDelete ? tenantToDelete.description : '' }}

Enterprise ID: {{ tenantToDelete ? tenantToDelete.enterprise_identifier : '' }}

This will permanently delete:

  • All tenant data and records
  • All users associated with this tenant
  • All API keys and access credentials
  • All business transactions and events
  • All stored files and configurations

To confirm deletion, type the enterprise identifier:

Type {{ tenantToDelete ? tenantToDelete.enterprise_identifier : '' }} to confirm

Note: The deletion will be processed in the background. You will be notified when it completes.
Cancel mdi-delete Delete Tenant
mdi-view-dashboard Dashboard mdi-domain Tenants {{ toast.message }} © 2025 Tenants - Multi-tenant Management System