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

# Organization

> Complete reference for HopX CLI organization commands - view organization info, update settings, list organizations, and switch between organizations.

Manage organization settings using the `org` command. View organization information, update settings, list organizations, and switch between organizations.

## Command Syntax

```bash theme={null}
hopx org <subcommand> [options]
```

## Subcommands

### `info`

Get organization information.

**Syntax:**

```bash theme={null}
hopx org info [OPTIONS]
```

**Examples:**

```bash theme={null}
# Get organization info
hopx org info
```

**Expected Output:**

```
┌─────────────┬─────────────────────────────────────┐
│ Property    │ Value                               │
├─────────────┼─────────────────────────────────────┤
│ Name        │ My Organization                     │
│ ID          │ org_abc123                          │
│ Plan        │ Pro                                 │
│ Members     │ 5                                   │
└─────────────┴─────────────────────────────────────┘
```

**Exit Codes:**

* `0` - Success
* `3` - Authentication error

### `update`

Update organization settings.

**Syntax:**

```bash theme={null}
hopx org update [OPTIONS]
```

**Options:**

* `--name TEXT` - Organization name

**Examples:**

```bash theme={null}
# Update organization name
hopx org update --name "New Organization Name"
```

**Expected Output:**

```
✓ Organization updated
```

**Exit Codes:**

* `0` - Success
* `3` - Authentication error

### `list`

List all organizations you belong to.

**Syntax:**

```bash theme={null}
hopx org list [OPTIONS]
```

**Examples:**

```bash theme={null}
# List organizations
hopx org list
```

**Expected Output:**

```
┌──────────────┬──────────────────────┐
│ Name         │ Role                 │
├──────────────┼──────────────────────┤
│ My Org       │ owner                 │
│ Team Org     │ member                │
└──────────────┴──────────────────────┘
```

**Exit Codes:**

* `0` - Success
* `3` - Authentication error

### `switch`

Switch to a different organization.

**Syntax:**

```bash theme={null}
hopx org switch ORGANIZATION_ID [OPTIONS]
```

**Arguments:**

* `ORGANIZATION_ID` - Organization ID (required)

**Examples:**

```bash theme={null}
# Switch organization
hopx org switch org_abc123
```

**Expected Output:**

```
✓ Switched to organization: My Organization
```

**Exit Codes:**

* `0` - Success
* `3` - Authentication error
* `4` - Organization not found

## Related

* **[CLI Quickstart](/cli/quickstart)** - Get started with CLI
* **[Authentication](/cli/commands/auth)** - Authenticate with CLI
* **[Members](/cli/commands/members)** - Manage organization members

## Next Steps

* Learn about [Members Management](/cli/commands/members) to manage team members
* Explore [Billing](/cli/commands/billing) to view organization billing
* Review [Usage Statistics](/cli/commands/usage) to monitor organization usage
