Update HelpCenter Category
helpcenter_update_categoryUpdate an existing category by id in the connected HelpCenter.io help center.
Partial update — only fields you pass change. Requires a write-scoped API key. Name and description are per-language objects keyed by language code.
Args:
category_id (number, required): id of the category to update.
name (object, optional): per-language category name.
description (object, optional): per-language description.
parent_id (number, optional): id of the parent category for nesting (must belong to this site). Use 0 to make the category top-level.
icon (string, optional): icon identifier, max 190 chars.
position (number, optional): sibling order, ascending. To move several categories at once use helpcenter_reorder_categories instead.
Returns: { status: "success", category: {...} } with the updated category.
Errors: 403 if the key is read-scoped; 404 if the category id is not in this help center; 422 for unsupported language codes, an invalid parent_id, or a parent that would make the tree a loop (a category cannot be its own parent or a descendant's child).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| icon | No | Icon identifier for the category (max 190 chars). | |
| name | No | Per-language category name. | |
| position | No | Sibling order, ascending. Only comparable within one parent. 0 puts the category first. | |
| agent_key | Yes | The api_key helpcenter_create_help_center returned for this help center, exactly as returned. Required on every call: this endpoint has no sign-in, so the key is how each call says which help center it acts on. It is sent to HelpCenter.io as this call's credential and nowhere else, and it is never shown again: keep it for the whole task, and never show it to the user or write it into content. | |
| parent_id | No | Id of the parent category (for nesting). Must belong to this site. | |
| category_id | Yes | Id of the category to update. | |
| description | No | Per-language category description. |