Update Section

PUT {{baseUrl}}/api/v2/help_center/:locale/sections/:section_id

Update section. This endpoint updates section-level data, specifically:

  • name (in the source locale)
  • description (in the source locale)
  • position
  • sorting
  • category_id
  • parentsectionid
  • theme_template

To update non-source section translations, see Translations.

Allowed for

  • Help Center managers

Request Body

{"section"=>{"category_id"=>"<integer>", "description"=>"<string>", "name"=>"<string>", "parent_section_id"=>"<integer>", "position"=>"<integer>", "sorting"=>"creation_desc", "theme_template"=>"<string>"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;section&quot;:{&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;locale&quot;:&quot;\u003cstring\u003e&quot;,&quot;category_id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;created_at&quot;:&quot;\u003cstring\u003e&quot;,&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;html_url&quot;:&quot;\u003cstring\u003e&quot;,&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;outdated&quot;:&quot;\u003cboolean\u003e&quot;,&quot;parent_section_id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;position&quot;:&quot;\u003cinteger\u003e&quot;,&quot;source_locale&quot;:&quot;\u003cstring\u003e&quot;,&quot;theme_template&quot;:&quot;\u003cstring\u003e&quot;,&quot;updated_at&quot;:&quot;\u003cstring\u003e&quot;,&quot;url&quot;:&quot;\u003cstring\u003e&quot;}}