Browse documentation

delete_document

[Documents]

Permanently delete a document and its content history. Retain requestId after an ambiguous response.

Before you use this tool

Permanently deletes the document and its content history.

Parameters

NameTypeRequiredDescription
documentIdstringYesDocument ID.
ifRevisionstringYesCurrent revision of the document to delete.
requestIdstringYesA fresh UUID for each change. After an ambiguous response, retry with the same requestId and identical arguments; a changed payload returns request_conflict.
spaceIdstringYesWorkspace ID from list_spaces.