Update an article
Understanding how to use FeatureOS API to build custom integrations.
Introduction
The FeatureOS update article API allows you to update an existing article in your knowledge base.
PUT
https://api.featureos.app/api/v3/articles/:id
curl -X PUT 'https://api.featureos.app/api/v3/articles/:id' \
-H 'API-KEY: YOUR_API_KEY' \
-H 'Content-Type: application/json'Headers
| Parameter | Default | Description |
|---|---|---|
| API-KEY | - | Generate from organization settings on the admin dashboard. |
| Authorization | - | Generate a unique JWT token specific to a user. |
Body Parameters
| Parameter | Required | Format | Description |
|---|---|---|---|
| title | false | String | The title of the article. Also used to update the slug. |
| description | false | Text | The content of the article. HTML is allowed. |
| collection_id | false | Integer | Move the article to a different collection. |
| status | false | String | The article status: draft or published. |
| privacy | false | String | The article privacy: public, unlisted, or private. |
| locale | false | String | Language code for the article (e.g., en, es, fr). |
| seo_title | false | String | Custom SEO title for the article. |
| seo_description | false | String | Custom SEO meta description. |
| cover_image | false | File | Cover image for the article. Accepts jpeg, jpg, png, or gif. Max 10 MB. |
| tag_ids | false | Array | IDs of tags to attach to the article. Replaces existing tags. |
| assignee_ids | false | Array | IDs of team members to assign. Replaces existing assignees. |
| position | false | Integer | The display position of the article within its collection. |