---
title: "DELETE /accounts/{AwsAccountId}/namespaces/{Namespace}/user-principals/{PrincipalId}"
method: DELETE
path: "/accounts/{AwsAccountId}/namespaces/{Namespace}/user-principals/{PrincipalId}"
---

# DELETE /accounts/{AwsAccountId}/namespaces/{Namespace}/user-principals/{PrincipalId}

`DELETE /accounts/{AwsAccountId}/namespaces/{Namespace}/user-principals/{PrincipalId}`

Deletes a user identified by its principal ID.

## Path parameters

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

## Response `200`

Success

- DeleteUserByPrincipalIdResponse
  - `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` — PreconditionNotMetException
- `485` — InternalFailureException
- `486` — 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)
