---
title: "Record Removed User Admin"
method: POST
path: "/admin/users/{uid}/record-erasure"
---

# Record Removed User Admin

`POST /admin/users/{uid}/record-erasure`

## Request

- Base URL: `https://api-docs.session-exchange.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.session-exchange.com/admin/users/{uid}/record-erasure`
- Auth: none declared

Record the erasure of an account whose record was already removed OUTSIDE the erasure
path (spec §3.2): tombstone + cleanup of what still links the uid + `account.deleted` +
the ledger line. `dry_run` defaults to TRUE — a real run needs `dry_run: false`, `confirm`
equal to the uid, and a `reason`. `handle` / `trial_email` (optional, from a backup) only
feed the keyed hashes and are never stored or echoed.

## Path parameters

- `uid` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/session-exchange/apis/a4sx.md) · [All operations](https://skmtc.dev/session-exchange/apis/a4sx/llms.txt) · [OpenAPI document](https://skmtc.dev/session-exchange/apis/a4sx/revisions/abaefc33dfc7?raw)
