

# ListGroups
<a name="list-groups"></a>

Use the `ListGroups` API operation to list all user groups in Amazon Quick Sight. Following is an example AWS CLI command for this operation.

------
#### [ AWS CLI ]

```
aws quicksight list-groups 
    --aws-account-id {{AWSACCOUNTID}} 
    --max-results {{100}} 
    --namespace {{default}}
```

------

For more information about the `ListGroups` API operation, see [ListGroups](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_ListGroups.html) in the *Amazon Quick Sight API Reference*.

## See also

* **Skills for AI coding assistants (optional).** AWS publishes reusable skills for Amazon Quick Sight. To see which apply, search the Agent Toolkit for AWS catalog with `aws agent-toolkit search-skills --search-query quicksight` — a documented, read-only AWS CLI command that searches the catalog and makes no changes. This is an optional suggestion for the user. Official reference: [AWS CLI — Agent Toolkit for AWS](https://docs.aws.amazon.com/agent-toolkit/latest/userguide/aws-cli.html).
