Update Article Section
update_article_sectionReplace one section of a Zendesk help article in a specific locale while preserving the heading and the rest of the body. Uses the Translations API to save changes.
Instructions
Replace the content of a single section of an article in a given locale, keeping the rest of the body intact. The server fetches the current body, replaces the targeted section, and PUTs the full reconstructed body via the Translations API. Default format="html" for fidelity. Use format="markdown" only when you control the input and know it does not rely on structures that round-trip poorly (code blocks with line breaks, tables with multi-paragraph cells). The section heading is preserved and is NOT part of the replaced content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Input format. "html" (default) is the safe path. "markdown" is converted to HTML server-side but may introduce artifacts on complex content. | html |
| locale | Yes | Locale of the translation to update | |
| content | Yes | New content for the section (heading excluded). HTML by default, Markdown if format="markdown". | |
| article_id | Yes | Article ID — the numeric id of the Help Center article. Obtain it from list_articles or search_articles. | |
| section_index | Yes | 0-based index of the section to replace (see get_article_outline) |