---
title: "Wipe Restic Repository"
method: POST
path: "/api/clusters/{clusterName}/restic/wipe"
tags: ["ClusterRestic"]
---

# Wipe Restic Repository

`POST /api/clusters/{clusterName}/restic/wipe`

## Request

- The document declares no server URL.
- Auth: none declared. Required headers: `Authorization`

Execute-only destructive repository wipe. Requires confirm=true and typed_target_confirm matching the server-computed repo_path. Use POST /restic/check-config to obtain the preview/target before calling this endpoint.

## Path parameters

- `clusterName` string, required

## Headers

- `Authorization` string, required

## Request body

- BackupmgrResticWipeOption
  - `allow_empty_prefix` boolean
  - `confirm` boolean
  - `typed_target_confirm` string

## Response `200`

Repository wiped successfully

- object

## Other responses

- `400`: Invalid payload, missing confirmation, or guardrail rejection
- `403`: No valid ACL or insufficient grant (db-backup required)
- `500`: No cluster

## Changes

- **2026-07-17** `7465ea0ee21a`: 1 info
  - endpoint added
- **2023-03-31** `b57fc7b9446e`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/signal18/apis/signal-18-dashboard-api/changes/api/clusters/:clusterName/restic/wipe/post.md)

---

[API](https://skmtc.dev/signal18/apis/signal-18-dashboard-api.md) - [All operations](https://skmtc.dev/signal18/apis/signal-18-dashboard-api/llms.txt) - [OpenAPI document](https://skmtc.dev/signal18/apis/signal-18-dashboard-api/revisions/8ee8a1e31294?raw)
