---
title: "Cancel scheduled vault deletion"
method: POST
path: "/vaults/{id}/deletion/cancel"
tags: ["vaults"]
---

# Cancel scheduled vault deletion

`POST /vaults/{id}/deletion/cancel`

## Request

- Base URL: `https://api.sparkvault.com/v1`
- URL: `https://api.sparkvault.com/v1/vaults/{id}/deletion/cancel`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sparkvault/apis/sparkvault-api/docs/vaults/:id/deletion/cancel/post.ts> (a function with typed inputs; its response is checked against the schema)

A company administrator or owner cancels the deletion currently shown in vault settings before its deadline. The matching schedule ID is required so a stale client cannot cancel a newer deletion request. Restores the vault and permits normal access again; it does not restore content after permanent cleanup begins.

## Path parameters

- `id` string, required

## Request body

- object
  - `deletion_schedule_id` string, required

## Response `200`

Deletion canceled; the response data contains the restored vault.

## Other responses

- `400`: VALIDATION_ERROR — deletion_schedule_id is missing or malformed.
- `403`: FORBIDDEN — the caller is not a company administrator or owner.
- `404`: NOT_FOUND — no such vault on this account.
- `409`: VAULT_DELETION_NOT_CANCELLABLE — the schedule changed or its deadline has passed; CONFLICT — the vault changed concurrently.

## Changes

- **2026-10-28** `a9a10e328ba5`: 16 info
  - the response property `error/details` became required for the status `400`
  - the response property `error/details` became required for the status `403`
  - the response property `error/details` became required for the status `404`
  - the response property `error/details` became required for the status `409`
  - …12 more
- **2026-10-28** `56d7c265a77a`: 4 breaking
  - the response property `error/details` became nullable for the status `400`
  - the response property `error/details` became nullable for the status `403`
  - the response property `error/details` became nullable for the status `404`
  - the response property `error/details` became nullable for the status `409`
- **2026-10-26** `f84ee4518b07`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sparkvault/apis/sparkvault-api/changes/vaults/:id/deletion/cancel/post.md)

---

[API](https://skmtc.dev/sparkvault/apis/sparkvault-api.md) - [All operations](https://skmtc.dev/sparkvault/apis/sparkvault-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sparkvault/apis/sparkvault-api/revisions/97cfadccd0c0?raw)
