---
title: "Remove a document from a case"
method: DELETE
path: "/v1/cases/{key}/documents/{docId}"
tags: ["Cases"]
---

# Remove a document from a case

`DELETE /v1/cases/{key}/documents/{docId}`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/cases/{key}/documents/{docId}`
- Auth: HTTP bearer

Remove a manually-pinned document from a case.

## Path parameters

- `key` string, uuid, required
- `docId` string, uuid, required

## Response `200`

Document removed.

- CaseDetailResponse
  - `id` string, uuid, required: Case UUID — the stable resource id used in API paths.
  - `case_key` string, required: Content-derived key (hex hash of the member document set); distinct from `id`.
  - `label` string, nullable
  - `narrative` string, nullable
  - `documents` object[], required
    - `id` string, uuid
    - `filename` string
    - `document_type` string, nullable
    - `created_at` string, date-time, nullable
  - `anomaly_count` integer, required
  - `created_at` string, date-time, nullable
  - `links` object, required
    - `self` string
    - `documents` string

## Other responses

- `400`: The request is invalid.
- `401`: Missing or invalid API key.
- `404`: The requested resource was not found.
- `429`: Daily rate limit exceeded.

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) · [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) · [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/678fe5f8c9c3?raw)
