---
title: "Admin Batch Delete Documents"
method: POST
path: "/admin/documents/batch-delete"
tags: ["admin"]
---

# Admin Batch Delete Documents

`POST /admin/documents/batch-delete`

## Request

- Base URL: `https://api.specproof.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.specproof.ai/admin/documents/batch-delete`
- Auth: none declared. Required headers: `x-admin-secret`

Delete multiple documents at once (e.g., old versions).

## Headers

- `x-admin-secret` string, required

## Request body

- BatchDeletePayload
  - `doc_ids` integer[], required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/specproof/apis/specproof-portal-api.md) · [All operations](https://skmtc.dev/specproof/apis/specproof-portal-api/llms.txt) · [OpenAPI document](https://skmtc.dev/specproof/apis/specproof-portal-api/revisions/228b03caa929?raw)
