Update Article Section
update_article_sectionReplace a specific section of a Zendesk article in a given locale while keeping the rest of the body and the section heading unchanged.
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 | |
| section_index | Yes | 0-based index of the section to replace (see get_article_outline) |