# knowledgeBaseCategoriesEdit **Type:** GraphQL mutations **Description:** Update an existing knowledge base category. ## Arguments - _id (String) - doc (KnowledgeBaseCategoryDoc, Not Null): undefined - code (String): Unique code identifier. - title (String): The category title (required). - description (String): Description of what this category covers. - articleIds (String): Article IDs to include in this category. - icon (String): Icon identifier (required). - topicIds (String): Topic IDs this category belongs to. - topicId (String): Primary topic ID. - parentCategoryId (String): Parent category ID for nesting. ## Response **Type:** KnowledgeBaseCategory **Description:** A category that groups related knowledge base articles together. Categories can be nested under parent categories for hierarchical organization. ### Fields - _id (String) - code (String): Unique code identifier for programmatic access. - title (String): The category title. - description (String): Description of what this category covers. - articles (KnowledgeBaseArticle): Articles in this category, optionally filtered by status. - icon (String): Icon identifier for the category. - createdBy (String): User ID of the category creator. - createdDate (Date): When this category was created. - modifiedBy (String): User ID of the last modifier. - modifiedDate (Date): When this category was last modified. - parentCategoryId (String): Parent category ID for nested categorization. - firstTopic (KnowledgeBaseTopic): The first topic this category belongs to. - authors (User): Users who have authored articles in this category. - numOfArticles (Float): Count of articles in this category, optionally filtered by status. - countArticles (Int): Total article count in this category.