Organizations
Organizations are the top-level grouping in enum. Each organization contains one or more projects.
Your account comes with one organization already. You can create more, for example to keep a company’s resources apart from your own.
You can create up to three organizations, including the one that came with your account. Organizations you were invited to do not count. See Quotas and Limits to raise the limit.
Create an organization
Section titled “Create an organization”enumctl organizations create <name>You are added as its first member. The name is a display name and does not have to be unique.
Pass --billing-email to set where invoices are sent:
enumctl organizations create acme --billing-email billing@acme.exampleThe new organization is ready immediately, so you can create a project in it right away:
enumctl projects create production --org-id <organization-id>It does not become your default. Run enumctl organizations select to switch to it.
List organizations
Section titled “List organizations”enumctl organizations listLists all organizations your account has access to.
┌───────────────────────────────────┬──────────────────┐│ ID │ Name │├───────────────────────────────────┼──────────────────┤│ org-01h85x1kk0r3yp4n6gqd7smvf2 │ my-org │└───────────────────────────────────┴──────────────────┘Select a default organization
Section titled “Select a default organization”enumctl organizations selectInteractively pick a default organization and save it to your local config. Project list and select use this as the default --org-id filter. You can also set it directly with enumctl config set organization <org-id>.
Aliases
Section titled “Aliases”The organizations command can also be invoked as:
enumctl orgs listenumctl org listenumctl org selectenumctl org add acmeUsing the organization ID
Section titled “Using the organization ID”Filter projects to a specific organization (overrides the configured default):
enumctl projects list --org-id <organization-id>