> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lerian.studio/llms.txt
> Use this file to discover all available pages before exploring further.

# Deleting an Account

> Delete an Account from your Ledger in the Console when it is no longer used — External Accounts cannot be removed and retention policies still apply.

<Danger>
  When you delete an Account, Midaz removes it from active listings. Your deployment's data retention and compliance policies apply. In regulated environments, your deployment can keep the record for audit, regulatory, or reporting purposes. Review your retention policy before you delete an Account.
</Danger>

To delete an Account, follow these steps:

<Steps>
  <Step>
    On the **Accounts** page, find the Account to delete. In the **Actions** column, click the three dots (<Icon icon="ellipsis-vertical" />), then select **Delete**.
  </Step>

  <Step>
    A confirmation dialog appears.
  </Step>

  <Step>
    Click **Confirm** to delete the Account.
  </Step>

  <Step>
    Midaz removes the **Account** from active listings. Your deployment's data retention and compliance policies still apply.
  </Step>
</Steps>

<Note>
  Before deleting an Account, ensure every balance has `available` and `onHold` equal to zero and that no transaction is in progress. Otherwise, Midaz rejects the deletion.
</Note>

<Warning>
  You **cannot directly** delete or modify External Accounts. Midaz creates them automatically with each Asset. Deleting an Asset soft-deletes active External Accounts with the same Asset code in the same Organization and Ledger.
</Warning>

<Card title="API equivalent" type="tip" horizontal>
  [Delete an Account endpoint](/en/reference/midaz/delete-an-account)
</Card>
