---
title: "POST /account/deregisterAccount"
method: POST
path: "/account/deregisterAccount"
---

# POST /account/deregisterAccount

`POST /account/deregisterAccount`

Deregisters an account in Audit Manager.

Before you deregister, you can use the [UpdateSettings](https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_UpdateSettings.html) API operation to set your preferred data retention policy. By default, Audit Manager retains your data. If you want to delete your data, you can use the `DeregistrationPolicy` attribute to request the deletion of your data.

For more information about data retention, see [Data Protection](https://docs.aws.amazon.com/audit-manager/latest/userguide/data-protection.html) in the _Audit Manager User Guide_.

## Response `200`

Success

- DeregisterAccountResponse
  - `status` 'ACTIVE' | 'INACTIVE' | 'PENDING_ACTIVATION' — The registration status of the account.

## Other responses

- `480` — ValidationException
- `481` — AccessDeniedException
- `482` — InternalServerException
- `483` — ResourceNotFoundException

---

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