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

# Delete Account

`DELETE /api/auth/account`

## Request

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

Permanently delete the currently authenticated user account.

Confirmation must equal the actor's current email. API keys cannot delete
their owning user, and a platform superuser cannot delete an identity while
acting as another tenant.

## Headers

- `X-Tenant-Id` integer, nullable

## Request body

- AccountDeletionIn
  - `confirmation` string, required

## Response `200`

Successful Response

- AccountDeletionOut
  - `deleted` boolean, required

## Other responses

- `400`: Explicit email confirmation did not match.
- `401`: Current-user authentication is required.
- `403`: Interactive self-service authentication required.
- `409`: Deletion would orphan a workspace or an active subscription.
- `422`: Validation Error
- `503`: A connector grant could not be revoked safely.

---

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