---
title: View organizations
description: Review a list of organizations in InfluxDB using the InfluxDB UI or the influx CLI.
url: https://docs.influxdata.com/influxdb/v2/admin/organizations/view-orgs/
estimated_tokens: 1012
product: InfluxDB OSS v2
version: v2
---

# View organizations

This page documents an earlier version of InfluxDB OSS. [InfluxDB 3 Core](/influxdb3/core/) is the latest stable version.

#### API token hashing is enabled by default in InfluxDB OSS 2.9.0

Stronger token security: tokens are stored as hashes on disk, so a copy of the database file doesn’t expose usable tokens. Existing tokens are hashed on first startup and the original strings can’t be recovered afterward — **capture any plaintext tokens you still need before you upgrade**.

For more information, see [Token hashing](/influxdb/v2/admin/tokens/#token-hashing).

Use the InfluxDB user interface (UI) or the `influx` command line interface (CLI) to view organizations.

## View organizations in the InfluxDB UI

1. In the navigation menu on the left, click the **Account dropdown**.
    
    u
    
    u
    
    username
    
    org-name
    
2. Select **Switch Organizations**. The list of organizations appears.
    

## View organizations using the influx CLI

Use the [`influx org list` command](/influxdb/v2/reference/cli/influx/org/list) to view organizations. Provide the following:

-   An [operator token](/influxdb/v2/admin/tokens/#operator-token) using your [`influx` CLI connection configuration](/influxdb/v2/reference/cli/influx/#provide-required-authentication-credentials), `INFLUX_TOKEN` environment variable, or the `--token, -t` flag.

```sh
influx org list
```

Filtering options such as filtering by name or ID are available. See the [`influx org list` documentation](/influxdb/v2/reference/cli/influx/org/list) for information about other available flags.

## View your organization ID

Use the InfluxDB UI or `influx` CLI to view your organization ID.

### Organization ID in the UI

After logging in to the InfluxDB UI, your organization ID appears in the URL.

```sh
http://localhost:8086/orgs/03a2bbf46249a000/...
```

### Organization ID in the CLI

Use [`influx org list`](#view-organizations-using-the-influx-cli) to view your organization ID. Provide the following:

-   An [operator token](/influxdb/v2/admin/tokens/#operator-token) using your [`influx` CLI connection configuration](/influxdb/v2/reference/cli/influx/#provide-required-authentication-credentials), `INFLUX_TOKEN` environment variable, or the `--token, -t` flag.

```sh
influx org list
```

The command returns output similar to:

```
ID                  Name
03a2bbf46249a000    org-1
03ace3a859669000    org-2
```
