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
neon orgs list
Section titled “neon orgs list”Lists all organizations associated with the authenticated Neon CLI user.
neon orgs list [options]List your organizations with the default table output format:
neon orgs listOrganizations
┌────────────────────────┬──────────────────┐
│ 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:
neon orgs list -o jsonShow output
[
{
"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"
}
]