---
title: "Delete a backup"
method: DELETE
path: "/api/v1/admin/backup/{backup_id}"
tags: ["backup"]
---

# Delete a backup

`DELETE /api/v1/admin/backup/{backup_id}`

## Request

- Base URL: `https://api.helena.bio` (the document declares no server; this is the origin it was published from)
- URL: `https://api.helena.bio/api/v1/admin/backup/{backup_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/helena-bioinformatics/apis/helix-insight-variant-analysis-service/docs/api/v1/admin/backup/:backup_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete a backup from disk.

Cannot delete a currently running backup.
Requires admin role.

## Path parameters

- `backup_id` string, required

## Response `200`

Successful Response

- DeleteBackupResponse: Response after deleting a backup.
  - `backup_id` string, required
  - `deleted` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/helena-bioinformatics/apis/helix-insight-variant-analysis-service.md) - [All operations](https://skmtc.dev/helena-bioinformatics/apis/helix-insight-variant-analysis-service/llms.txt) - [OpenAPI document](https://skmtc.dev/helena-bioinformatics/apis/helix-insight-variant-analysis-service/revisions/a800b0b27feb?raw)
