Skip to main content
Neon Docs

Search documentation

Type to search this documentation.

On this pageOverview

Neon CLI command: orgs

The orgs command lists the organizations you belong to. Its subcommand takes only the global options. neon orgs list (list) Lists all organizations associated with the authenticated Neon CLI user. Lis...

The orgs command lists the organizations you belong to. Its subcommand takes only the global options.

Subcommands: list

Lists all organizations associated with the authenticated Neon CLI user.

Bash
neon orgs list [options]

List your organizations with the default table output format:

Bash
neon orgs list
title="Output"
Organizations
┌────────────────────────┬──────────────────┐
│ Id                     │ Name             │
├────────────────────────┼──────────────────┤
│ org-xxxxxxxx-xxxxxxxx  │ Example Org      │
└────────────────────────┴──────────────────┘

List your organizations with --output json, which also shows the created_at and updated_at timestamps omitted from the table output:

Bash
neon orgs list -o json
Show output
JSON
[
  {
    "id": "org-xxxxxxxx-xxxxxxxx",
    "name": "Example Org",
    "handle": "example-org-xxxxxxxx",
    "created_at": "2024-04-22T16:50:41Z",
    "updated_at": "2024-06-28T15:38:26Z"
  }
]
Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu