Replace one section
Replaces the HTML of one existing section, guarded by `baseHash`: when the section changed since it was read, nothing is written and 409 returns `code: drift`…
Replaces the HTML of one existing section, guarded by baseHash: when the section changed since it was read, nothing is written and 409 returns code: drift with the live HTML and its hash. Refused while a document run is writing (409) and when the document content is locked (403). A last resort — prefer correcting the inputs and regenerating; then review the document. Same operation as MCP update_document_section.
Authorization
bearerAuth In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://example.com/documents/string/sections/string" \ -H "Content-Type: application/json" \ -d '{ "baseHash": "string", "html": "string" }'{ "baseHash": "string", "success": true}Read one live section GET
The section HTML as it stands in the live document, and the `baseHash` to send with a later PUT. Same operation as MCP `get_document_section`.
Stop sharing a document with a user or group (owner or admin) DELETE
Stop sharing a document with a user or group (owner or admin) - DELETE /documents/{documentId}/shares. DocDealer REST API reference.