Managing Organizations
Organizations are the top-level container in Teabar. They contain projects, members, and define billing boundaries.
Creating an Organization
Via Web Console
- Log in to teabar.dev/app
- Click your profile menu (top right)
- Select “Create Organization”
- Enter organization details:
- Name: Unique identifier (lowercase, hyphens allowed)
- Display Name: Human-readable name
- Billing Email: For invoices and billing notifications
- Click “Create Organization”
Via CLI
teactl org create my-company --display-name "My Company Inc" Organization Settings
Access organization settings via the web console or CLI.
General Settings
| Setting | Description |
|---|---|
| Name | Unique identifier (cannot be changed after creation) |
| Display Name | Human-readable name shown in UI |
| Billing Email | Email for invoices and notifications |
| Avatar | Organization logo (web console only) |
Update via CLI:
teactl org update my-company --display-name "My Company International" Billing Settings
Access billing settings in the web console under Organization Settings > Billing.
- Current Plan: View active subscription tier
- Usage: Current period usage and costs
- Payment Method: Credit card or invoice billing
- Invoices: Download past invoices
Note
Billing settings are only available to organization admins and only through the web console.
Organization Dashboard
The organization dashboard provides an overview of:
Usage Summary
- Environments: Total environments, running vs. stopped
- Compute: vCPU-hours consumed this billing period
- Storage: Persistent storage in use
- Estimated Cost: Projected cost for current period
Activity Feed
Recent activity across the organization:
- Environment creations and deletions
- Member joins and departures
- Blueprint updates
- Administrative actions
Quick Actions
- Create new project
- Invite members
- Generate API key
- View audit logs
Multiple Organizations
Users can belong to multiple organizations with different roles.
Switching Organizations
Web Console:
- Click organization name in sidebar
- Select from dropdown
CLI:
# List your organizations
teactl org list
# Switch active organization
teactl org switch other-company
# View current context
teactl config get current-context Organization Context
The CLI maintains an active organization context. Commands operate within this context:
# These commands use the current organization context
teactl project list
teactl member list
teactl env list Override with --org flag:
teactl project list --org other-company Deleting an Organization
Warning
Deleting an organization is permanent and cannot be undone. All projects, environments, blueprints, and data will be permanently removed.
Requirements
- You must be an organization admin
- All running environments must be stopped
- Outstanding balance must be paid (Cloud plans)
Via Web Console
- Go to Organization Settings > Danger Zone
- Click “Delete Organization”
- Type the organization name to confirm
- Click “Permanently Delete”
Via CLI
# Force stops running environments and deletes
teactl org delete my-company --force
# Interactive confirmation
teactl org delete my-company Organization Limits
Limits vary by plan:
| Limit | Free | Pro | Enterprise |
|---|---|---|---|
| Projects | 3 | Unlimited | Unlimited |
| Members | 5 | Unlimited | Unlimited |
| Concurrent Environments | 2 | Based on usage | Based on usage |
| API Keys | 5 | Unlimited | Unlimited |
| Audit Log Retention | 7 days | 30 days | Custom |
Best Practices
Naming Conventions
- Use lowercase with hyphens:
acme-corp,training-team - Keep names short but descriptive
- Consider using company domain as prefix:
acme-production,acme-staging
Organization Structure
Single Organization - Best for:
- Small teams
- Single project or product
- Unified billing
Multiple Organizations - Best for:
- Separate billing entities
- Different security boundaries
- Client work (agency model)
Security Recommendations
- Limit admin access - Only grant admin role to those who need it
- Regular access reviews - Periodically audit member list
- Use API keys wisely - Create scoped keys, set expiration dates
- Enable audit logging - Monitor for suspicious activity
See Also
- Projects - Managing projects within organizations
- Members - Member management
- teactl org - CLI organization commands
- Organizations Concept - Understanding the organization model