---
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`)

---

[API](https://skmtc.net/latitude/apis/latitude-sh-api.md) · [All operations](https://skmtc.net/latitude/apis/latitude-sh-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/latitude/latitude-sh-api/versions/7302d79e39bb/schema)
