bitter-farmer-82819
04/06/2025, 8:32 AMbrief-egg-61061
04/06/2025, 8:32 AMbrief-egg-61061
04/06/2025, 8:32 AMory create organization <label> [--project=PROJECT_ID] [--domains=<http://a.example.com|a.example.com>,<http://b.example.com|b.example.com>]
Options: - `--domains strings`: A list of domains for the organization - `--project string`: The project to use (ID or slug) - `--workspace string`: The workspace to use (ID or name) [Ory CLI documentation](https://www.ory.sh/docs/cli/ory-create-organization#ory-create-organization) ## Using the API You can also manage organizations programmatically through the Ory API: POST /projects/{project_id}/organizations
The request body should include: - `label`: The organization's label - `domains`: List of the organization's domains Authentication is required using an Ory Workspace API key. [Ory API Reference](https://www.ory.sh/docs/reference/api) ## Organizations and B2B SSO Ory's Organizations feature is designed for B2B use cases, allowing you to: - Create separate organizations for different client companies - Enable streamlined authentication for employees of partner organizations - Manage access controls for partner organizations This is particularly useful for B2B applications where you need to manage multiple client organizations accessing your platform. For more detailed information about Organizations and B2B SSO, refer to the [Organizations and B2B Single Sign-On documentation](https://www.ory.sh/docs/kratos/organizations/).bitter-farmer-82819
04/06/2025, 8:33 AMbrief-egg-61061
04/06/2025, 8:33 AMbrief-egg-61061
04/06/2025, 8:33 AM