---
title: "POST /api/company-documents/{id}/cancel-request"
method: POST
path: "/api/company-documents/{id}/cancel-request"
tags: ["Company Documents"]
---

# POST /api/company-documents/{id}/cancel-request

`POST /api/company-documents/{id}/cancel-request`

Withdraw the calling company's pending request for access to a document. A document the caller cannot see answers 404. The document's owner and its recipient company, and a request that was already approved, answer 409 — an approved share is never removed here. With no request on file the call succeeds and changes nothing.

## Path parameters

- `id` string, required

## Response `204`

No content

- 'null', nullable — No content

## Other responses

- `401` — Default Response
- `403` — Default Response
- `404` — Default Response
- `409` — Default Response

## Changes

> 57 revisions in range; 1 not diffed.

- **2026-09-29** `bd9b2edd83c6` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/retraced/apis/api-reference/changes/api/company-documents/:id/cancel-request/post.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/6f6121dab5c2?raw)
