---
title: "Purge Restic Backup"
method: POST
path: "/api/clusters/{clusterName}/restic/purge/{snapshotID}"
tags: ["ClusterRestic"]
---

# Purge Restic Backup

`POST /api/clusters/{clusterName}/restic/purge/{snapshotID}`

Purges the restic backup for the specified cluster.
Required grant: db-backup

## Path parameters

- `clusterName` string, required
- `snapshotID` string, required

## Query parameters

- `dry_run` boolean

## Headers

- `Authorization` string, required

## Response `200`

Restic repository purged

- string

## Other responses

- `403` — No valid ACL
- `500` — No cluster

---

[API](https://skmtc.net/signal18/apis/untitled-api.md) · [All operations](https://skmtc.net/signal18/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/signal18/untitled-api/revisions/7465ea0ee21a/schema)
