v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-141341,3811.0 MB

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

get/accounts/{AwsAccountId}/namespaces

Path parameters

AwsAccountIdstring required

The ID for the Amazon Web Services account that contains the Amazon QuickSight namespaces that you want to list.

Query parameters

next-tokenstring

A unique pagination token that can be used in a subsequent request. You will receive a pagination token in the response body of a previous <code>ListNameSpaces</code> API call if 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.

max-resultsinteger

The maximum number of results to return.

MaxResultsstring

Pagination limit

NextTokenstring

Pagination token

Response

Success

NextTokenstring

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.

RequestIdstring

The Amazon Web Services request ID for this operation.

Statusinteger

The HTTP status of the request.