Create organization
Organization
Create organization
Create a new organization with the authenticated user as the owner.
Organization Setup:
- Establishes a new multi-tenant environment
- Creates the founding user as organization owner
- Sets up default roles, permissions, and site structure
- Initializes organizational settings and configurations
Multi-tenancy Impact:
- Creates isolated data boundaries for the new organization
- Establishes Row Level Security (RLS) policies
- Sets up independent form, site, and user management
- Configures organizational-level feature flags and limits
Default Structure:
- Owner role assigned to creating user
- Root site created automatically
- Basic organizational settings initialized
- Email and authentication configurations inherited
This is a critical operation that establishes the foundation for all subsequent organizational data and user management.
POST
Create organization

