X Enterprises
Tenants

TenantsDirectory

Tenant list with search and filters for admin multi-tenant management.

TenantsDirectory

Renders a paginated, searchable table of all tenants with plan, status (active, suspended), user count, and quick-action controls for suspend, activate, and plan change.

Components

<XAdminTenantsDirectory />

Displays all tenants with search, plan and status filters, and row-level admin actions.

<XAdminTenantsDirectory />

Props

PropTypeDefaultDescription
endpointstring'/api/admin/tenants'API endpoint for tenant list
loadingbooleanfalseShow loading skeleton
pageSizenumber25Number of tenants per page
searchablebooleantrueShow search input
showFiltersbooleantrueShow plan and status filter controls

AI Context

component: XAdminTenantsDirectory
package: "@xenterprises/nuxt-x-app-admin"
category: Tenants
use-when: Listing and searching tenants in an admin multi-tenant management section
Copyright © 2026