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

# GET /accounts/{AwsAccountId}/namespaces

`GET /accounts/{AwsAccountId}/namespaces`

Lists the namespaces for the specified Amazon Web Services account. This operation doesn't list deleted namespaces.

## Path parameters

- `AwsAccountId` string, required

## Query parameters

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

## Response `200`

Success

- ListNamespacesResponse
  - `Namespaces` NamespaceInfoV2[] — The information about the namespaces in this Amazon Web Services account. The response includes the namespace ARN, name, Amazon Web Services Region, notification email address, creation status, and identity store.
    - `Name` string — The name of the error.
    - `Arn` string — The namespace ARN.
    - `CapacityRegion` string — The namespace Amazon Web Services Region.
    - `CreationStatus` 'CREATED' | 'CREATING' | 'DELETING' | 'RETRYABLE_FAILURE' | 'NON_RETRYABLE_FAILURE' — The creation status of a namespace that is not yet completely created.
    - `IdentityStore` 'QUICKSIGHT' — The identity store used for the namespace.
    - `NamespaceError` object — An error that occurred when the namespace was created.
      - `Type` 'PERMISSION_DENIED' | 'INTERNAL_SERVICE_ERROR' — The error type.
      - `Message` string — The message for the error.
  - `NextToken` string — A unique pagination token that can be used in a subsequent request. Receiving <code>NextToken</code> in your response inticates that there is more data that can be returned. To receive the data, make another <code>ListNamespaces</code> API call with the returned token to retrieve the next page of data. Each token is valid for 24 hours. If you try to make a <code>ListNamespaces</code> API call with an expired token, you will receive a <code>HTTP 400 InvalidNextTokenException</code> error.
  - `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/revisions/2f2bbd7e70ca/schema)
