---
title: "Delete Me"
method: DELETE
path: "/v1/me"
tags: ["me"]
---

# Delete Me

`DELETE /v1/me`

## Request

- Base URL: `https://api.ctindex.io`
- URL: `https://api.ctindex.io/v1/me`
- Auth: none declared

Schedule (or cancel) account deletion.

Default flow: marks ``users.deletion_scheduled_at = NOW() + 30d``,
revokes every session and api key the user owns, and cancels any
Stripe subscription at period end so paid entitlements survive
until the already-paid window closes. The retention sweep
(``api/cleanup.py``) hard-deletes accounts whose grace window
expires.

``cancel=true`` cancels a pending deletion before the sweep runs.

## Cookies

- `ctix_session` string, nullable

## Request body

- DeleteMeRequest: Body for ``DELETE /v1/me``. Requires the user's current password to re-authenticate, plus the literal confirmation string ``DELETE my account`` (typed in the Settings danger-zone modal) so a misclicked button can't trigger irreversible deletion. The ``cancel`` form (``DELETE /v1/me`` with ``cancel=true``) cancels a pending deletion within the grace window.
  - `current_password` string, nullable
  - `confirmation` string, nullable
  - `cancel` boolean

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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