Skip to main content
Version: Next

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]
FlagDefaultDescription
--limit50Maximum number of groups
--offset0Pagination offset

groups get <id>​

lhc groups get <group-id>

groups create​

lhc groups create --name <name> [--description <desc>]
FlagRequiredDescription
--nameyesGroup name
--descriptionnoOptional 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
FlagDescription
--scopeNarrow the result to users, groups, or access (default: combined access statistics)