---
title: "Cancel a scheduled deletion during the grace period"
method: DELETE
path: "/account/deletion"
tags: ["Account"]
---

# Cancel a scheduled deletion during the grace period

`DELETE /account/deletion`

## Request

- Base URL: `https://api.flashdata.dev/v2`
- URL: `https://api.flashdata.dev/v2/account/deletion`
- Auth: API key in cookie `__Host-fd_session` and API key in header `X-CSRF-Token`

Uses a scheduled-to-cancelled compare-and-set. A processor race returns 409; after success the recovery Session is rotated and cannot replay the old transition.

## Response `204`

Deletion cancelled, account reactivated, and recovery Session rotated according to the legal-acceptance gate

## Other responses

- `401`: Authentication required or invalid
- `403`: Authenticated but not permitted, or CSRF validation failed
- `404`: Resource not found or not owned by the caller
- `409`: Resource state or idempotency conflict

---

[API](https://skmtc.dev/flashdata/apis/flashdata-customer-api.md) · [All operations](https://skmtc.dev/flashdata/apis/flashdata-customer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flashdata/apis/flashdata-customer-api/revisions/109179fe9313?raw)
