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

# Delete documents

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

Soft delete one or more documents by moving them to trash.

## Path parameters

- `projectId` string, uuid, required

## Request body

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

## Response `200`

List of deleted document IDs

- string[] — List of 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)
