Select an Inth organization
Organization-owned list and create commands use the first available organization from this order:
- The
--organizationflag. - The nearest
.inth/project.jsonin the current directory or a parent. - Your saved default organization.
- The API's active organization when the CLI has no local selection.
How do I set my default organization?
switch opens an organization picker when no ID or slug is supplied. Scripts must provide a value. The saved default applies outside directories with their own link.
How do I link an organization to a directory?
link writes an organization ID to .inth/project.json in the current directory. It does not create or select a project. Commands look for the nearest link while walking up through parent directories.
How do I override the organization for one command?
Commands targeting a resource ID resolve ownership on the server and reject --organization. Scan starts use --repository. Organization and region commands do not use the local default. For raw API calls, an explicit organizationId in the URL query takes precedence over organization defaults.
How do I create an organization?
Creation requires a browser session or an approved agent connection with organization write access. API keys cannot create organizations. Creating an organization does not change the saved default or directory link.