> ## Documentation Index
> Fetch the complete documentation index at: https://astronomer.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# astro organization list

<Info>
  This command is only available on Astro.
</Info>

View a list of Organizations that you can access on Astro and their IDs.

## Usage

Run `astro organization list` to view a list of Organizations that you can access on Astro and their IDs. Only the Organizations you have been invited to by an Organization Owner appear on this list.

## Options

| Option          | Description                                                                                          | Possible Values                |
| --------------- | ---------------------------------------------------------------------------------------------------- | ------------------------------ |
| `--json`        | Output the response as JSON. Shorthand for `--output json`. Mutually exclusive with `-o`/`--output`. | None                           |
| `-o`,`--output` | Format the output. The default is `table`.                                                           | `table`, `json`, or `template` |
| `--template`    | Format the output using a Go template. Use with `--output template`.                                 | Any valid Go template string   |

## Output

| Output | Description                                            | Data Type |
| ------ | ------------------------------------------------------ | --------- |
| `NAME` | The name of the Organizations that you have access to. | String    |
| `ID`   | The Organization ID.                                   | String    |

## Related commands

* [`astro login`](/docs/cli/v1.43/astro-login)
* [`astro organization switch`](/docs/cli/v1.43/astro-organization-switch)
