---
title: "Delete VM backup"
method: DELETE
path: "/virtual_machine_backups/{id}"
tags: ["Virtual machine backups"]
---

# Delete VM backup

`DELETE /virtual_machine_backups/{id}`

Archives and deletes a Virtual Machine backup. Work runs asynchronously and returns 202 Accepted. Only `Ready` or `Failed` backups can be deleted, and not while a restore from the backup is in progress.

## Path parameters

- `id` string, required

## Response `202`

Accepted

## Other responses

- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict — another operation on this backup is in progress (`BACKUP_LOCKED`)
- `422` — Unprocessable Entity — the backup is not deletable (`BACKUP_NOT_DELETABLE`) or a restore is in progress (`RESTORE_IN_PROGRESS`)

## Changes

> 29 revisions in range; 23 could not be searched.

- **2026-07-21** `885dec47dd47` — 3 info
  - added the optional property `data/attributes/project/stats/databases` to the response with the `202` status
  - added the optional property `data/attributes/project/stats/storages` to the response with the `202` status
  - added the optional property `data/attributes/project/stats/virtual_machines` to the response with the `202` status

[Change history](https://skmtc.dev/latitude/apis/latitude-sh-api/changes/virtual_machine_backups/:id/delete.md)

---

[API](https://skmtc.dev/latitude/apis/latitude-sh-api.md) · [All operations](https://skmtc.dev/latitude/apis/latitude-sh-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/latitude/latitude-sh-api/revisions/c80535f26dd7/schema)
