---
title: "Permanently delete one terminal backup from object storage and the database."
method: DELETE
path: "/backups/{id}"
tags: ["Backups"]
---

# Permanently delete one terminal backup from object storage and the database.

`DELETE /backups/{id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/backups/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `204`

Backup deleted

## Other responses

- `400`: Backup artifact cannot be safely attributed
- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Backup not found
- `409`: Backup is running, referenced, or lacks safe artifact identity
- `500`: Object storage or database error; the `failure` field says which
- `503`: Transient failure (the backup's service is restarting or being deleted, or the database is unavailable); retry after the `Retry-After` header

## Changes

- **2026-11-25** `cd6cbc9c9868`: 1 info
  - added the non-success response with the status `503`
- **2026-11-09** `12896146b193`: 6 breaking
  - removed the required property `extensions` from the response with the `400` status
  - removed the required property `extensions` from the response with the `401` status
  - removed the required property `extensions` from the response with the `403` status
  - removed the required property `extensions` from the response with the `404` status
  - …2 more
- **2026-10-05** `4b228ebed583`: 6 info
  - added the optional property `status` to the response with the `400` status
  - added the optional property `status` to the response with the `401` status
  - added the optional property `status` to the response with the `403` status
  - added the optional property `status` to the response with the `404` status
  - …2 more
- **2026-10-05** `63a80791dc58`: 6 warning
  - removed the optional property `status` from the response with the `400` status
  - removed the optional property `status` from the response with the `401` status
  - removed the optional property `status` from the response with the `403` status
  - removed the optional property `status` from the response with the `404` status
  - …2 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/backups/:id/delete.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
