> ## Documentation Index
> Fetch the complete documentation index at: https://www.marqeta.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a document

> Delete a dispute case document.

<div className="mb-4 flex items-center gap-2"><span className="rounded-lg font-bold px-1.5 py-0.5 text-sm leading-5 bg-red-400/20 text-red-700 dark:text-red-400">DELETE</span><span className="flex items-center gap-0.5 font-mono text-sm"><span className="text-gray-400">/</span><span className="font-medium text-gray-800 dark:text-white">{"cases"}</span><span className="text-gray-400">/</span><span className="font-medium text-gray-800 dark:text-white">{"{token}"}</span><span className="text-gray-400">/</span><span className="font-medium text-gray-800 dark:text-white">{"contents"}</span><span className="text-gray-400">/</span><span className="font-medium text-gray-800 dark:text-white">{"{content_token}"}</span></span></div>

Delete a dispute case document. If the document has already been processed with the `network_processing_type` set to `SUBMITTED` or `RECEIVED`, an error is returned.

<h2 id="_url_path_parameter_5">
  URL path parameter
</h2>

| Fields | Description |
| - | - |
| token<br />string<br />Required | The token that identifies the dispute case.<br />**Allowable Values:**<br />255 char max |
| content\_token<br />string<br />Required | The token that identifies the content to delete. This token is generated for the document when it is created.<br />**Allowable Values:**<br />255 char max |

<h2 id="_delete_content_response">
  Delete content response
</h2>

This endpoint returns a `200` response code and `success` in the response body.

<h2 id="_sample_response_body_14">
  Sample response body
</h2>

```json JSON lines wrap theme={null}
{
  "status": "success"
}
```


## Related topics

- [Delete a document](/docs/core-api/disputes-mastercard/delete-document.md)
- [Disputes (Mastercard) Overview](/docs/core-api/disputes-mastercard.md)
- [Disputes (PULSE) Overview](/docs/core-api/disputes-pulse.md)
- [Disputes (Visa) Overview](/docs/core-api/disputes-visa.md)
- [2021 Release Notes](/docs/developer-guides/release-notes-2021.md)
