---
title: "Permanently delete documents"
method: DELETE
path: "/api/projects/{projectId}/documents/permanently"
tags: ["Document"]
---

# Permanently delete documents

`DELETE /api/projects/{projectId}/documents/permanently`

Permanently remove soft-deleted documents from the system.

## Path parameters

- `projectId` string, uuid, required

## Request body

- object
  - `ids` string[], required — List of document IDs to permanently delete

## Response `200`

List of permanently deleted document IDs

- string[] — List of permanently deleted document IDs

---

[API](https://skmtc.dev/gorules/apis/gorules-agent-api.md) · [All operations](https://skmtc.dev/gorules/apis/gorules-agent-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gorules/gorules-agent-api/revisions/52c0773fcd80/schema)
