---
title: "Cancel a scheduled account deletion."
method: DELETE
path: "/account/deletion"
tags: ["Account"]
---

# Cancel a scheduled account deletion.

`DELETE /account/deletion`

## Request

- Base URL: `https://docs.sleeperhit.studio/api/v1`
- URL: `https://docs.sleeperhit.studio/api/v1/account/deletion`
- Auth: HTTP bearer

Cancels the scheduled deletion; nothing was removed before the purge. 409 `account_deletion_refused` once the purge has started. Scope: `account:write`. Free.

## Response `200`

The deletion is cancelled.

- AccountDeletionStatus: Where the account's deletion stands, with the credit balance and what deleting removes.
  - `state` 'none' | 'scheduled' | 'purging' | 'blocked', required
  - `requestedAt` string, date-time, nullable, required
  - `scheduledFor` string, date-time, nullable, required: When the purge runs; cancellable until then.
  - `blockedReason` string, nullable, required: Why a purge stopped and needs a person (state `blocked`).
  - `canRequest` boolean, required
  - `refusal` string, nullable, required: Why this account cannot delete itself, when it cannot.
  - `credits` object, required
    - `balance` integer, required
    - `refundableTopUps` AccountDeletionTopUp[], required
      - `purchasedAt` string, date-time, required
      - `credits` integer, required
      - `usd` number, nullable, required
      - `refundableUntil` string, date-time, required: The end of the 14-day refund window for unused top-ups.
    - `notice` string, required: The balance, that unused credits are forfeited at the purge, and a refund prompt for any top-up still refundable. Show it before the confirm.
  - `deletes` string[], required
  - `keeps` string, required
  - `exportNotice` string, required
  - `uploadsNotice` string, required
  - `graceDays` integer, required

## Other responses

- `401`: Missing, malformed, revoked, or expired API key.
- `403`: API key is valid but lacks the scope, is blocked by IP allowlist, or the account is disabled.
- `409`: The account cannot delete itself (`account_deletion_refused`): an admin account, a workshop host, or an organization owner (transfer or delete it first); or the purge already started, so the deletion can no longer be cancelled. `message` says which. Nothing was changed.
- `429`: Rate limit for this API key + IP + route family was exceeded.
- `500`: The API failed unexpectedly. Safe to retry with the same Idempotency-Key.

---

[API](https://skmtc.dev/sleeperhit/apis/sleeper-hit-studio-story-api.md) · [All operations](https://skmtc.dev/sleeperhit/apis/sleeper-hit-studio-story-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sleeperhit/apis/sleeper-hit-studio-story-api/revisions/4534f5d25540?raw)
