---
title: "Delete Account"
method: DELETE
path: "/api/auth/account"
tags: ["Auth"]
---

# Delete Account

`DELETE /api/auth/account`

## Request

- Base URL: `https://api.earmarkiq.app` (the document declares no server; this is the origin it was published from)
- URL: `https://api.earmarkiq.app/api/auth/account`
- Auth: HTTP bearer

Permanently delete the authenticated user's account.

Deletion is a single bulk DELETE so Postgres FK cascades do the work in
one statement — the previous ORM-cascade delete loaded every related
row (thousands of transactions) into memory and issued per-row
DELETEs, which exceeded the mobile client's timeout for real accounts.
Finexer consents are revoked best-effort AFTER the response, so their
HTTP calls can never delay or block the deletion.

## Request body

- DeleteAccountRequest
  - `password` string, required
  - `rationale` string, nullable

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/earmarkiq/apis/earmark-api.md) · [All operations](https://skmtc.dev/earmarkiq/apis/earmark-api/llms.txt) · [OpenAPI document](https://skmtc.dev/earmarkiq/apis/earmark-api/revisions/4a2c41907105?raw)
