---
title: "Erase User Admin"
method: DELETE
path: "/admin/users/{uid}"
---

# Erase User Admin

`DELETE /admin/users/{uid}`

## 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}`
- Auth: none declared

Erase a user account for an Art. 17 request that arrived out of band (the user may be
unable to sign in). Body: {confirm: <uid>, reason?, dry_run?}. Emits `account.deleted` with
by="admin"; the retained records are listed in the response.

## 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)
