Update an Article
PUT/api/knowledge-base/articles/{id}
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
Parameters
| Field | Type | Description |
|---|---|---|
| id | Number | Article unique ID |
| title | String | optional Optional Article title |
| description | String | optional Optional Article body |
| category_id | Number | optional Optional Help category ID, must exist |
| status | String | optional Optional active or inactive |
| sort | Number | optional Optional sort order |
| labels | String | optional Optional comma separated label IDs |
| related_article_ids | String | optional Optional comma separated article IDs |
curl -X PUT "https://yoursite.com/api/knowledge-base/articles/123" \
-H "authtoken: YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "field": "value" }' Success-Response:
HTTP/1.1 200 OK
{ "status": 200, "messages": {"success": "The record has been saved."} }