> ## 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.

# Members

> Complete reference for HopX CLI members commands - list organization members, invite new members, and remove members.

Manage organization members using the `members` command. List members, invite new members, and remove members from your organization.

## Command Syntax

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

## Subcommands

### `list`

List all organization members.

**Syntax:**

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

**Examples:**

```bash theme={null}
# List members
hopx members list
```

**Expected Output:**

```
┌──────────────┬──────────────┬─────────────┐
│ Name         │ Email        │ Role        │
├──────────────┼──────────────┼─────────────┤
│ John Doe     │ john@ex.com  │ owner       │
│ Jane Smith   │ jane@ex.com  │ member      │
└──────────────┴──────────────┴─────────────┘
```

**Exit Codes:**

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

### `invite`

Invite a new member to the organization.

**Syntax:**

```bash theme={null}
hopx members invite EMAIL [OPTIONS]
```

**Arguments:**

* `EMAIL` - Email address to invite (required)

**Options:**

* `--role TEXT` - Member role: `member`, `admin` (default: `member`)

**Examples:**

```bash theme={null}
# Invite member
hopx members invite user@example.com

# Invite as admin
hopx members invite admin@example.com --role admin
```

**Expected Output:**

```
✓ Invitation sent to user@example.com
```

**Exit Codes:**

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

### `remove`

Remove a member from the organization.

**Syntax:**

```bash theme={null}
hopx members remove EMAIL [OPTIONS]
```

**Arguments:**

* `EMAIL` - Email address to remove (required)

**Examples:**

```bash theme={null}
# Remove member
hopx members remove user@example.com
```

**Expected Output:**

```
✓ Member removed: user@example.com
```

**Exit Codes:**

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

## Related

* **[CLI Quickstart](/cli/quickstart)** - Get started with CLI
* **[Organization Commands](/cli/commands/org)** - Manage organizations
* **[Authentication](/cli/commands/auth)** - Authenticate with CLI

## Next Steps

* Learn about [Organization Management](/cli/commands/org) to manage organization settings
* Explore [Billing](/cli/commands/billing) to view organization billing
* Review [Usage Statistics](/cli/commands/usage) to monitor organization usage
