---
title: "Delete Account"
method: DELETE
path: "/api/v1/users/account"
tags: ["Users"]
---

# Delete Account

`DELETE /api/v1/users/account`

Permanently delete the user's account and personal data.

Mirrors the expert-side delete endpoint. Behavior:
  - Blocks if there's an active chat session (must close first).
  - Cancels any active Stripe subscription (immediate, no proration).
  - Deletes the Stripe Customer (removes saved payment methods, stops
    future invoicing).
  - Revokes the API key (clears api_key + hash + prefix so any agent
    holding the old key can't make new requests).
  - Best-effort deletes the Auth0 user so they can't log back in.
  - Anonymizes the User row's identifying fields. The row itself is
    retained so CreditTransaction / ChatSession / Question records
    keep their FK integrity for audit purposes.

Returns 204 on success. The frontend should clear local auth state
and redirect to the logged-out landing page.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/humwork/apis/humwork-ai.md) · [All operations](https://skmtc.dev/humwork/apis/humwork-ai/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/humwork/humwork-ai/revisions/38d9dc5f27e6/schema)
