Files
Rowan Smith 683a7c0957 feat: add organizations list command to coder cli (#21960)
follows on from #21940.

The API endpoints existed for this already, so this PR just adds CLI functionality which uses those API endpoints.

Generated with the help of Mux
2026-02-06 14:09:39 +11:00

2.4 KiB
Generated

organizations

Organization related commands

Aliases:

  • organization
  • org
  • orgs

Usage

coder organizations [flags] [subcommand]

Subcommands

Name Purpose
show Show the organization. Using "selected" will show the selected organization from the "--org" flag. Using "me" will show all organizations you are a member of.
list List all organizations
create Create a new organization.
delete Delete an organization
members Manage organization members
roles Manage organization roles.
settings Manage organization settings.

Options

-O, --org

Type string
Environment $CODER_ORGANIZATION

Select which organization (uuid or name) to use.