---
search:
  tags:
    - projects
    - POST
seo:
  description: >-
    Applies an ordered batch of exact HTML… Reference for the POST
    /projects/documentation/{id}/content-edits endpoint in the Leadtime Public
    API API.
sidebar:
  badge: POST
  label: Apply exact HTML edits to one documentation page
title: Apply exact HTML edits to one documentation page
type: openapi-operation
---
Applies an ordered batch of exact HTML search-and-replace edits atomically. Use canonical HTML, contentGeneration, and contentEtag from a current tree, search, partial-read, page-detail, or prior edit response. Each search must match exactly once in the same current document. The server rejects missing, ambiguous, overlapping, stale, malformed, or schema-lossy edits. HTML fragments are normalized with the editor HTML parser before matching. The edit stays in the active collaboration generation and connected editors receive its incremental update. The response is a small receipt and does not include the page body.

<Operation source="api-reference" id="projectdocumentationcontroller-applyprojectdocumentationhtmledits" />
