---
title: "Delete a volume backup and its copy off the host."
method: POST
path: "/v1/volume-backups/{id}:delete"
tags: ["volumes"]
---

# Delete a volume backup and its copy off the host.

`POST /v1/volume-backups/{id}:delete`

## Request

- Base URL: `https://api.withruntime.com`
- URL: `https://api.withruntime.com/v1/volume-backups/{id}:delete`
- Auth: HTTP bearer

## Path parameters

- `id` string, required: Resource identifier (UUID).

## Headers

- `Idempotency-Key` string

## Response `200`

Success

- object
  - `id` string, required
  - `kind` 'volume-backup', required
  - `status` string, required
  - `state` 'pending' | 'ready' | 'failed' | 'deleting' | 'deleted', required
  - `name` string, nullable
  - `volumeId` string, required
  - `sizeMiB` integer, required: The volume's size when backed up; a restore is this size.
  - `trigger` 'manual' | 'daily'
  - `retentionDays` integer
  - `storedBytes` integer, nullable: What it keeps off the host, compressed and encrypted.
  - `error` string, nullable
  - `errorCode` string, nullable: Why it failed, when a code says it: backup_stalled when its copy off the host never began. Back it up again.
  - `createdAt` string
  - `copyStartedAt` string, nullable: When its copy off the volume's server began; null while it waits its turn behind other copies there.
  - `readyAt` string, nullable
  - `expiresAt` string, required

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/withruntime/apis/runtime-cloud-api.md) · [All operations](https://skmtc.dev/withruntime/apis/runtime-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/withruntime/apis/runtime-cloud-api/revisions/6f4012286988?raw)
