lhc groups
Manage Lakehousecat groups. Groups control access to shared content such as dashboards and charts. Requires admin role.
Commands
groups list
lhc groups list [--limit N] [--offset N]
| Flag | Default | Description |
|---|---|---|
--limit | 50 | Maximum number of groups |
--offset | 0 | Pagination offset |
groups get <id>
lhc groups get <group-id>
groups create
lhc groups create --name <name> [--description <desc>]
| Flag | Required | Description |
|---|---|---|
--name | yes | Group name |
--description | no | Optional description |
groups update <id>
lhc groups update <group-id> [--name <name>] [--description <desc>]
groups delete <id>
lhc groups delete <group-id>
groups members <group-id>
List all members of a group:
lhc groups members <group-id>
groups add-user <group-id> <user-id>
Add a user to a group:
lhc groups add-user <group-id> <user-id>
groups remove-user <group-id> <user-id>
Remove a user from a group:
lhc groups remove-user <group-id> <user-id>
groups search [query]
Search matches a substring of the group's name or description.
lhc groups search "analyst"
lhc groups search --tag RED # every red group, across all pages
--tag restricts results to groups tagged with that color (repeatable, OR-combined; valid
colors: RED, YELLOW, GREEN, BLUE, PURPLE). Tags are per user and assigned in the UI —
the CLI only filters by them. The query is optional when --tag is given, but at least one of
the two is required.
groups count
Total number of groups:
lhc groups count
groups statistics
Show user, group, and access statistics (Admin only). Without --scope the command returns the
combined user and group access statistics:
lhc groups statistics
lhc groups statistics --scope users
lhc groups statistics --scope groups
| Flag | Description |
|---|---|
--scope | Narrow the result to users, groups, or access (default: combined access statistics) |