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

# Users & Groups

> Manage organization members, user groups, and tool connections from the CLI

## Users

```bash theme={null}
unbound users list                        # List all organization members
unbound users effective-policies <id>     # View effective policies for a specific user
```

***

## User groups

Groups let you scope policies to specific teams or roles. Policy changes apply automatically to all group members.

```bash theme={null}
unbound user-groups list                              # List all groups (alias: unbound groups list)
unbound user-groups get <id>                          # View a group and its members
unbound user-groups create --name "Security Team"
unbound user-groups update <id> --name "New Name"
unbound user-groups delete <id>                       # Prompts for confirmation (skip with --yes)
unbound user-groups effective-policies <id>           # Effective policies applied to a group
```

### Membership flags on create / update

`create` and `update` accept the same membership flags. You can seed a group from every user in your org, opt out of that default, or pass an explicit set of user IDs:

| Flag                 | Purpose                                                                                  |
| -------------------- | ---------------------------------------------------------------------------------------- |
| `--all-org-users`    | Include every current member of the organization in the group                            |
| `--no-all-org-users` | Explicit opt-out; useful on `update` to clear a previously org-wide group                |
| `--user-ids`         | Comma-separated list of user IDs to include. Replaces the current membership on `update` |

```bash theme={null}
# Seed a "Reviewers" group from the whole org:
unbound user-groups create --name "Reviewers" --all-org-users

# Replace membership on update:
unbound user-groups update <id> --user-ids "u_abc,u_def,u_ghi"
```

***

## Tool connections

View which AI tools are connected to Unbound across the organization, and manage approved tool types.

```bash theme={null}
unbound tools list                        # List all connected tools and their status
unbound tools connect <tool-type>         # Connect a new tool (generates an API key)
unbound tools approved                    # List approved tool types and whether restrictions are enforced
```

Supported tool types: `CLAUDE_CODE`, `CURSOR`, `COPILOT`, `ROO_CODE`, `CLINE`, `GEMINI_CLI`, `CODEX`, `UNBOUND_CODEX`, `KILO_CODE`, `CUSTOM_ACCESS`

***

All commands support `--json` for machine-readable output.
