---
title: "GET /accounts/{AwsAccountId}/namespaces/{Namespace}/groups"
method: GET
path: "/accounts/{AwsAccountId}/namespaces/{Namespace}/groups"
---

# GET /accounts/{AwsAccountId}/namespaces/{Namespace}/groups

`GET /accounts/{AwsAccountId}/namespaces/{Namespace}/groups`

Lists all user groups in Amazon QuickSight.

## Path parameters

- `AwsAccountId` string, required
- `Namespace` string, required

## Query parameters

- `next-token` string
- `max-results` integer

## Response `200`

Success

- ListGroupsResponse
  - `GroupList` Group[] — The list of the groups.
    - `Arn` string — The Amazon Resource Name (ARN) for the group.
    - `GroupName` string — The name of the group.
    - `Description` string — The group description.
    - `PrincipalId` string — The principal ID of the group.
  - `NextToken` string — A pagination token that can be used in a subsequent request.
  - `RequestId` string — The Amazon Web Services request ID for this operation.
  - `Status` integer — The HTTP status of the request.

## Other responses

- `480` — AccessDeniedException
- `481` — InvalidParameterValueException
- `482` — ResourceNotFoundException
- `483` — ThrottlingException
- `484` — InvalidNextTokenException
- `485` — PreconditionNotMetException
- `486` — InternalFailureException
- `487` — ResourceUnavailableException

---

[API](https://skmtc.net/aws/apis/quicksight.md) · [All operations](https://skmtc.net/aws/apis/quicksight/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/quicksight/versions/2f2bbd7e70ca/schema)
