---
title: "Cancel account deletion"
method: POST
path: "/accounts/cancel-account-deletion"
tags: ["Account Management"]
---

# Cancel account deletion

`POST /accounts/cancel-account-deletion`

## Request

- Base URL: `https://api.quiva.ai`
- URL: `https://api.quiva.ai/accounts/cancel-account-deletion`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`

Cancels the deletion of an account.
- Allows the root user of an account to reverse a scheduled account deletion if the current date is before *deletion_date*.

## Response `200`

Account deletion cancelled successfully

- SuccessResponse
  - `message` string

## Other responses

- `400`: Account not scheduled for deletion
- `401`: Unauthorized

---

[API](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway.md) - [All operations](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/revisions/700eb1ace61a?raw)
