---
title: "DELETE /api/cascade-tracing/documents/"
method: DELETE
path: "/api/cascade-tracing/documents/"
tags: ["Order Tracing - Documents"]
---

# DELETE /api/cascade-tracing/documents/

`DELETE /api/cascade-tracing/documents/`

## Request

- Base URL: `https://api.retraced.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.retraced.com/api/cascade-tracing/documents/`
- Auth: none declared

Soft-deletes tracing documents the caller's company uploaded — all of them or none. Repeated ids count once. 400 (`cannot_delete_documents_from_other_companies`) when any id is missing, already removed or another company's; nothing is deleted then. On success the order document-completion figures of the affected orders are recalculated in the background.

## Request body

- object
  - `ids` string[], required

## Response `204`

No content

- 'null', nullable: No content

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response

## Changes

> 108 revisions in range; 2 not diffed.

- **2026-10-09** `ddfec192e804`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/retraced/apis/api-reference/changes/api/cascade-tracing/documents/delete.md)

---

[API](https://skmtc.dev/retraced/apis/api-reference.md) - [All operations](https://skmtc.dev/retraced/apis/api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/retraced/apis/api-reference/revisions/83309c4abd20?raw)
