---
title: "Delete the current user's account"
method: DELETE
path: "/api/me"
tags: ["Account"]
---

# Delete the current user's account

`DELETE /api/me`

## Request

- Base URL: `https://api.engram.page`
- URL: `https://api.engram.page/api/me`
- Auth: HTTP bearer

Irreversible. Requires the account password for confirmation.

## Request body

- DeleteAccountRequest
  - `password` string, password, required

## Response `200`

Account deleted

- OkFlag
  - `ok` boolean, required

## Other responses

- `400`: password_required
- `403`: invalid_password
- `409`: last_admin — cannot delete the only admin
- `422`: delete_failed

---

[API](https://skmtc.dev/engram/apis/engram-api.md) · [All operations](https://skmtc.dev/engram/apis/engram-api/llms.txt) · [OpenAPI document](https://skmtc.dev/engram/apis/engram-api/revisions/8c4c2eec29dc?raw)
