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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"section":{"name":"\u003cstring\u003e","locale":"\u003cstring\u003e","category_id":"\u003cinteger\u003e","created_at":"\u003cstring\u003e","description":"\u003cstring\u003e","html_url":"\u003cstring\u003e","id":"\u003cinteger\u003e","outdated":"\u003cboolean\u003e","parent_section_id":"\u003cinteger\u003e","position":"\u003cinteger\u003e","source_locale":"\u003cstring\u003e","theme_template":"\u003cstring\u003e","updated_at":"\u003cstring\u003e","url":"\u003cstring\u003e"}}