---
title: "PATCH /api/company-documents/bulk-restore"
method: PATCH
path: "/api/company-documents/bulk-restore"
tags: ["Company Documents"]
---

# PATCH /api/company-documents/bulk-restore

`PATCH /api/company-documents/bulk-restore`

## 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/company-documents/bulk-restore`
- Auth: none declared

Takes the caller's own documents back out of its company's archive. They list again and, being its own, reach its network again with the privacy they had when archived. Links removed from cascade-tracing nodes when they were archived are not put back. Ids of documents that are not filed on the caller's company, or that it has not archived, are skipped silently, so the call is idempotent. Responds with the ids this call restored.

## Request body

- string[]

## Response `200`

Default Response

- object
  - `metadata` object, required
    - `success` boolean, required: True when the request succeeded.
  - `data` object, required
    - `restoredDocumentIds` string[], required

## Other responses

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

---

[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)
