Skip to main content

Revert Report Section Endpoint

DELETE 

/reports/:report_id/content/:section_key

Revert one section to the AI draft, discarding the user's edits.

Drops that section's entry from Report.section_overrides so it renders as the original AI draft again; other sections' edits are untouched. Idempotent — reverting a section with no edits is a no-op. Needs editor access. 404 if the report has no content or section_key is not one of its sections. Returns the composited content.

Request​

Responses​

Successful Response