What is an Organization?
An organization is a container that owns:- Users: Both human users and machine users (service accounts)
- Projects: Collections of applications and their roles
- Settings: Organization-specific configurations and policies
- Domains: Custom domains for user login and branding
Every user, project, and application must belong to exactly one organization. However, projects can be granted to other organizations for cross-organizational access.
Organization Properties
Each organization has:- Unique ID: A system-generated identifier
- Name: A human-readable name (must be unique across the instance)
- Primary Domain: The main domain associated with the organization
- State: Active, inactive, or removed
Creating Organizations
You can create organizations through the Console or programmatically.Via Console
- Navigate to the instance-level admin view
- Go to Organizations
- Click Create Organization
- Enter the organization name
- Optionally add admin users
- Click Save
Via API
Create an organization with admin users:Organization Domains
Domains define how users are identified and which organization they belong to.Primary Domain
Every organization automatically gets a primary domain based on its name:- Organization name: “Acme Corporation”
- Primary domain:
acme-corporation.{instance-domain}
[email protected]
Custom Domains
Add your own domains to enable branded login experiences:Add the verification record
For DNS validation:
Add a TXT record to your domain’s DNS:For HTTP validation:
Host a file at:
Verified domains must be unique across the entire ZITADEL instance. Once verified, users can log in using their email addresses (e.g.,
[email protected]).Organization States
Organizations can be in different states:- Active: Normal operation, users can log in and access applications
- Inactive: Deactivated, users cannot log in, but data is preserved
- Removed: Organization has been deleted
Deactivating Organizations
Deactivate an organization to temporarily disable all access:- All users in the organization cannot log in
- All applications under the organization’s projects are inaccessible
- Organization data is preserved
- Can be reactivated later
Activating Organizations
Reactivate a previously deactivated organization:Organization Roles
Organization roles determine what users can do within an organization:| Role | Description |
|---|---|
ORG_OWNER | Full administrative access to the organization |
ORG_USER_MANAGER | Can manage users within the organization |
ORG_PROJECT_PERMISSION_MANAGER | Can manage project permissions and grants |
ORG_AUDITOR | Read-only access to audit logs and organization data |
Organization roles are different from project roles. Organization roles control administrative access to the organization itself, while project roles control access to specific applications.
Organization Metadata
Store custom key-value data on organizations for application-specific needs:Multi-Tenancy Patterns
ZITADEL’s organization model supports various multi-tenancy scenarios:Customer Isolation (SaaS)
Customer Isolation (SaaS)
Create one organization per customer:
- Each customer gets complete data isolation
- Customers manage their own users and access
- You control which projects are available per customer using project grants
- Custom branding per customer via custom domains
Departmental Structure
Departmental Structure
Create organizations for different departments:
- Sales, Engineering, Marketing each have their own organization
- Users belong to their department’s organization
- Shared applications via project grants
- Simplified user management per department
Environment Separation
Environment Separation
Create organizations for different environments:
- Production, Staging, Development organizations
- Isolate test users from production users
- Same project structure across environments
- Safe testing without affecting production
Partner Ecosystem
Partner Ecosystem
Create organizations for partners and resellers:
- Each partner manages their own users
- Grant partners access to specific projects
- Track usage and activity per partner
- Enable partner-branded login experiences
Searching Organizations
List and filter organizations across your instance:Deleting Organizations
Permanently delete an organization and all its data:Best Practices
Choose the Right Granularity
Choose the Right Granularity
- Too many organizations: Administrative overhead, complex project grants
- Too few organizations: Limited isolation, harder to manage permissions
- Right balance: Align with business structure and isolation requirements
Plan Your Domain Strategy
Plan Your Domain Strategy
- Verify domains early in the setup process
- Use custom domains for production environments
- Keep primary domains for internal or fallback access
- Document which domains are used for login
Manage Organization Lifecycle
Manage Organization Lifecycle
- Deactivate organizations instead of deleting when possible
- Use metadata to track organization state and subscription info
- Regularly audit organization access and administrators
- Automate organization provisioning for scalability
Security Considerations
Security Considerations
- Limit
ORG_OWNERrole assignments - Use
ORG_AUDITORfor compliance and monitoring - Enable audit logging for organization changes
- Review project grants regularly to ensure appropriate access
Related Concepts
Users
Users belong to organizations and can be granted access across organizations
Projects
Projects are owned by organizations and can be granted to others
Roles
Roles define what users can do within projects and organizations