---
title: "GET /v2/domains/{domainIdentifier}/account-pools/{identifier}/accounts"
method: GET
path: "/v2/domains/{domainIdentifier}/account-pools/{identifier}/accounts"
---

# GET /v2/domains/{domainIdentifier}/account-pools/{identifier}/accounts

`GET /v2/domains/{domainIdentifier}/account-pools/{identifier}/accounts`

Lists the accounts in the specified account pool.

## Path parameters

- `domainIdentifier` string, required
- `identifier` string, required

## Query parameters

- `nextToken` string
- `maxResults` integer

## Response `200`

Success

- ListAccountsInAccountPoolOutput
  - `items` AccountInfo[] — The results of the ListAccountsInAccountPool operation.
    - `awsAccountId` string, required — The account ID.
    - `supportedRegions` AwsRegion[], required — The regions supported for an account within an account pool.
    - `awsAccountName` string, password — The account name.
  - `nextToken` string — When the number of accounts is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of accounts, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to ListAccountsInAccountPool to list the next set of accounts.

## Other responses

- `480` — InternalServerException
- `481` — ResourceNotFoundException
- `482` — AccessDeniedException
- `483` — ThrottlingException
- `484` — ValidationException
- `485` — UnauthorizedException

---

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