---
title: "Cancel a scheduled destruction"
method: DELETE
path: "/v1/workspace/deletion"
tags: ["admin"]
---

# Cancel a scheduled destruction

`DELETE /v1/workspace/deletion`

## Request

- Base URL: `https://api.indraft.io`
- URL: `https://api.indraft.io/v1/workspace/deletion`
- Auth: HTTP bearer

Cancels a scheduled destruction. Available for the whole window and refused after it, because after it there is nothing left to cancel.

## Response `200`

Success

- object
  - `cancelled` string, required
  - `requestId` string, required

## Other responses

- `401`: No credential, or one that has been revoked.
- `402`: A product quota is spent, or the subscription is not active.
- `403`: Authenticated, and this capability is not held.
- `409`: A conflict the caller can resolve: a stale expectedVersion, an idempotency key reused for different input, an ambiguous or duplicate identity, or a merge that no longer applies.
- `429`: Infrastructure protection tripped. This is not a product quota.
- `500`: A defect on our side. The hint says so, and carries an incident id.
- `507`: The workspace is at its storage ceiling.

---

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