This chapter covers the core features and capabilities of Tenant Manager.
with tenant_scope("tenant_id"): for scoped operationsFollow this guide to get Tenant Manager up and running in your environment.
python src/main.py --init-demo# List tenants
curl http://localhost:8004/api/tenants
# Create a tenant
curl -X POST http://localhost:8004/api/tenants \
-H "Content-Type: application/json" \
-d '{"name": "My Company", "slug": "my-company", "owner_id": "user_1", "plan": "pro"}'
# Add a member
curl -X POST http://localhost:8004/api/tenants/<id>/members \
-H "Content-Type: application/json" \
-d '{"user_id": "user_2", "role": "admin"}'
# Platform stats
curl http://localhost:8004/api/admin/stats| Method | Path | Description |
|---|---|---|
| GET | /api/tenants | List all tenants |
| POST | /api/tenants | Create a new tenant |
| GET | /api/tenants/:id | Get tenant details + members |
| POST | /api/tenants/:id/members | Add a member |
| POST | /api/tenants/:id/upgrade | Upgrade tenant plan |
| GET | /api/admin/stats | Platform-wide statistics |
Get the full Tenant Manager and unlock everything.
Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.
Access all interactive tools with complete data, all workload profiles, and the full scenario library.
Downloadable source code, configuration files, and working examples from every chapter.
Free updates for life. Every new chapter, tool, and improvement included.