curl --request PATCH \
--url https://api.getfernand.com/knowledge/articles/{id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"title": "<string>",
"seo_title": "<string>",
"slug": "<string>",
"previous_url": "<string>",
"description": "<string>",
"content": "<string>",
"collections": [
123
],
"published": true,
"visibility": "public"
}
'{
"id": 123,
"title": "How to get started",
"seo_title": "Getting Started Guide - Complete Tutorial",
"slug": "how-to-get-started",
"previous_url": "<string>",
"description": "Learn how to set up your account and start using our platform in minutes.",
"content": "<p>Welcome to our platform! This guide will help you get started...</p>",
"created": "2023-11-07T05:31:56Z",
"last_updated": "2023-11-07T05:31:56Z",
"published": true,
"get_collections": [
{
"collection_id": 1,
"sort": 1
},
{
"collection_id": 3,
"sort": 2
}
],
"visibility": "public",
"get_url": "https://help.piedpiper.com/getting-started/introduction"
}curl --request PATCH \
--url https://api.getfernand.com/knowledge/articles/{id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"title": "<string>",
"seo_title": "<string>",
"slug": "<string>",
"previous_url": "<string>",
"description": "<string>",
"content": "<string>",
"collections": [
123
],
"published": true,
"visibility": "public"
}
'{
"id": 123,
"title": "How to get started",
"seo_title": "Getting Started Guide - Complete Tutorial",
"slug": "how-to-get-started",
"previous_url": "<string>",
"description": "Learn how to set up your account and start using our platform in minutes.",
"content": "<p>Welcome to our platform! This guide will help you get started...</p>",
"created": "2023-11-07T05:31:56Z",
"last_updated": "2023-11-07T05:31:56Z",
"published": true,
"get_collections": [
{
"collection_id": 1,
"sort": 1
},
{
"collection_id": 3,
"sort": 2
}
],
"visibility": "public",
"get_url": "https://help.piedpiper.com/getting-started/introduction"
}ID of the article to update.
Display title of the article (optional).
250SEO-optimized title (optional).
250URL-safe slug (optional, must be unique).
250Previous URL for migration tracking (optional).
250Brief description for SEO (optional).
250HTML content with images (optional).
16000000Array of collection IDs (optional, at least one if provided).
Publication status (optional).
Visibility setting (optional).
public, chat, chat_auth 10Article updated successfully.
Unique identifier for the article.
Display title of the article.
250"How to get started"
SEO-optimized title for search engines and meta tags.
250"Getting Started Guide - Complete Tutorial"
URL-safe slug used in the article's URL path.
250"how-to-get-started"
Previous URL if the article was migrated from another help system, used for redirect tracking.
250Brief description used for SEO meta tags and article previews.
250"Learn how to set up your account and start using our platform in minutes."
Full HTML content of the article including formatted text, images, code blocks, and embedded media.
"<p>Welcome to our platform! This guide will help you get started...</p>"
Timestamp when the article was originally created.
Timestamp when the article was last modified.
Whether the article is published and visible to users (unpublished articles are drafts).
List of collections this article belongs to with their sort positions.
Show child attributes
[
{ "collection_id": 1, "sort": 1 },
{ "collection_id": 3, "sort": 2 }
]Visibility setting - public (visible to all), chat (only in chat widget), chat_auth (only in chat for authenticated users).
public, chat, chat_auth 10"public"
Full computed URL path to access the article, including collection hierarchy.
"https://help.piedpiper.com/getting-started/introduction"
Was this page helpful?