---
title: "Admin Delete User"
method: POST
path: "/api/internal/users/{user_id}/delete"
tags: ["internal"]
---

# Admin Delete User

`POST /api/internal/users/{user_id}/delete`

## 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/internal/users/{user_id}/delete`
- Auth: none declared

Irreversible. Requires the account email typed as confirmation, runs
the SAME deletion path as a user's own deletion (bulk cascade + Finexer
consent revocation), and records the action in admin_actions.

## Path parameters

- `user_id` string, uuid, required

## Headers

- `X-Admin-Secret` string, nullable

## Response `200`

Successful Response

- unknown

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