# PUT /api/knowledge-base/categories/{id} > Knowledge Base - Update a Category - **Endpoint:** `PUT /api/knowledge-base/categories/{id}` - **Group:** Knowledge Base - **Since:** v1.0.0 - **Defined in:** `RestApi/Controllers/KnowledgeBaseController.php` ## Headers | Field | Type | Description | | --- | --- | --- | | `authtoken` | String | Authentication token, generated from admin area | ## Parameters | Field | Type | Required | Description | | --- | --- | --- | --- | | `id` | Number | yes | Category unique ID | | `title` | String | no | Optional Category title | | `description` | String | no | Optional Category description | | `type` | String | no | Optional knowledge_base or help | | `status` | String | no | Optional active or inactive | | `sort` | Number | no | Optional sort order | | `articles_order` | String | no | Optional A-Z or Z-A | | `banner_url` | String | no | Optional banner link | | `related_articles` | String | no | Optional comma separated label IDs | ## Request example ```bash curl -X PUT "https://yoursite.com/index.php/api/knowledge-base/categories/123" \ -H "authtoken: YOUR_API_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "field": "value" }' ``` ## Responses ### Success - Success-Response: ```json HTTP/1.1 200 OK { "status": 200, "messages": {"success": "The record has been saved."} } ``` --- Part of the [REST API for RISE CRM](https://risecrm.themesic.com/apiguide/) documentation. Full page: https://risecrm.themesic.com/apiguide/knowledge-base/update-knowledge-base-category/