---
title: "POST /accounts/{AwsAccountId}"
method: POST
path: "/accounts/{AwsAccountId}"
---

# POST /accounts/{AwsAccountId}

`POST /accounts/{AwsAccountId}`

(Enterprise edition only) Creates a new namespace for you to use with Amazon QuickSight.

A namespace allows you to isolate the Amazon QuickSight users and groups that are registered for that namespace. Users that access the namespace can share assets only with other users or groups in the same namespace. They can't see users and groups in other namespaces. You can create a namespace after your Amazon Web Services account is subscribed to Amazon QuickSight. The namespace must be unique within the Amazon Web Services account. By default, there is a limit of 100 namespaces per Amazon Web Services account. To increase your limit, create a ticket with Amazon Web Services Support.

## Path parameters

- `AwsAccountId` string, required

## Request body

- object
  - `Namespace` string, required — The name that you want to use to describe the new namespace.
  - `IdentityStore` 'QUICKSIGHT', required — Specifies the type of your user identity directory. Currently, this supports users with an identity type of <code>QUICKSIGHT</code>.
  - `Tags` Tag[] — The tags that you want to associate with the namespace that you're creating.
    - `Key` string, required — Tag key.
    - `Value` string, required — Tag value.

## Response `200`

Success

- CreateNamespaceResponse
  - `Arn` string — The ARN of the Amazon QuickSight namespace you created.
  - `Name` string — The name of the new namespace that you created.
  - `CapacityRegion` string — The Amazon Web Services Region; that you want to use for the free SPICE capacity for the new namespace. This is set to the region that you run CreateNamespace in.
  - `CreationStatus` 'CREATED' | 'CREATING' | 'DELETING' | 'RETRYABLE_FAILURE' | 'NON_RETRYABLE_FAILURE' — The status of the creation of the namespace. This is an asynchronous process. A status of <code>CREATED</code> means that your namespace is ready to use. If an error occurs, it indicates if the process is <code>retryable</code> or <code>non-retryable</code>. In the case of a non-retryable error, refer to the error message for follow-up tasks.
  - `IdentityStore` 'QUICKSIGHT' — Specifies the type of your user identity directory. Currently, this supports users with an identity type of <code>QUICKSIGHT</code>.
  - `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` — LimitExceededException
- `485` — ResourceExistsException
- `486` — PreconditionNotMetException
- `487` — ConflictException
- `488` — InternalFailureException
- `489` — 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)
