purge_document
Delete a document's stored renders, of every version, and clear the CDN's cached copies of the video, thumbnails, storyboards and GIFs of every link to it, within a minute. The next view renders them again, billed as new renders, except video and audio segments whose content is unchanged and still stored, which are reused. Finished exports of the document stop downloading (404): export again for a new download.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"document_id": "<document_id>"
},
"name": "purge_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | The document, `doc_…`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | What it purges: `lnk_…` or `doc_…`. | |
| status | Yes | `purging`: the stored renders and the cached copies are gone within a minute. |