Deletes the published version of a document and optionally some (likely all known) draft versions. If any draft version exists that is not specified for deletion this is an error. If the purge flag is set then the document history is also deleted.
Draft document ID to delete
Published document ID to delete
Optional
Delete document history
Deletes the published version of a document and optionally some (likely all known) draft versions. If any draft version exists that is not specified for deletion this is an error. If the purge flag is set then the document history is also deleted.