curl --request PATCH \
--url https://api.getfernand.com/knowledge \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"title": "PiedPiper Help Center",
"description": "<string>",
"company_name": "PiedPiper",
"company_url": "piedpiper.com",
"subdomain": "piedpiper",
"custom_domain": "help.piedpiper.com",
"favicon": "<string>",
"language": "en",
"color_scheme": "light",
"light_logo": "<string>",
"light_accent_color": "#00a0ff",
"dark_logo": "<string>",
"dark_accent_color": "#00a0ff",
"custom_css": "<string>",
"custom_js": "<string>",
"indexable": true
}
'{
"subdomain": "help",
"custom_domain": "help.piedpiper.com",
"favicon": "https://cdn.example.com/knowledge/uuid/images/favicon.png",
"language": "en",
"color_scheme": "light",
"light_logo": "<string>",
"light_accent_color": "#00a0ff",
"dark_logo": "<string>",
"dark_accent_color": "#00a0ff",
"custom_css": "<string>",
"custom_js": "<string>",
"previous_url": "<string>",
"valid_custom_domain": true,
"last_verified_dns": "2023-11-07T05:31:56Z",
"indexable": true,
"title": "Help Center",
"description": "Welcome to the PiedPiper help center",
"company_name": "PiedPiper help center",
"company_url": "https://piedpiper.com"
}curl --request PATCH \
--url https://api.getfernand.com/knowledge \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"title": "PiedPiper Help Center",
"description": "<string>",
"company_name": "PiedPiper",
"company_url": "piedpiper.com",
"subdomain": "piedpiper",
"custom_domain": "help.piedpiper.com",
"favicon": "<string>",
"language": "en",
"color_scheme": "light",
"light_logo": "<string>",
"light_accent_color": "#00a0ff",
"dark_logo": "<string>",
"dark_accent_color": "#00a0ff",
"custom_css": "<string>",
"custom_js": "<string>",
"indexable": true
}
'{
"subdomain": "help",
"custom_domain": "help.piedpiper.com",
"favicon": "https://cdn.example.com/knowledge/uuid/images/favicon.png",
"language": "en",
"color_scheme": "light",
"light_logo": "<string>",
"light_accent_color": "#00a0ff",
"dark_logo": "<string>",
"dark_accent_color": "#00a0ff",
"custom_css": "<string>",
"custom_js": "<string>",
"previous_url": "<string>",
"valid_custom_domain": true,
"last_verified_dns": "2023-11-07T05:31:56Z",
"indexable": true,
"title": "Help Center",
"description": "Welcome to the PiedPiper help center",
"company_name": "PiedPiper help center",
"company_url": "https://piedpiper.com"
}Main title for the knowledge base homepage.
250"PiedPiper Help Center"
Description text shown on the knowledge base homepage.
1000Company name displayed in the knowledge base.
250"PiedPiper"
Company website URL (without http/https prefix).
250"piedpiper.com"
Subdomain for accessing the knowledge base (e.g., 'piedpiper' for piedpiper.fernand.help).
50"piedpiper"
Custom domain for the knowledge base (without http/https prefix).
250"help.piedpiper.com"
Favicon URL or base64-encoded PNG image data.
Language code for the knowledge base (null for browser detection).
en, fr, de, es, it, pt, pl, tr, sv, nl, dk 5"en"
Color scheme preference for the knowledge base.
light, dark Logo URL or base64-encoded image for light mode (jpg, png, svg).
Accent color for light mode (hex color code).
"#00a0ff"
Logo URL or base64-encoded image for dark mode (jpg, png, svg).
Accent color for dark mode (hex color code).
"#00a0ff"
Custom CSS to apply to the knowledge base (max 8MB).
8000000Custom JavaScript to apply to the knowledge base (max 8MB).
8000000Whether the knowledge base should be indexed by search engines.
Knowledge base settings updated successfully.
Knowledge base settings combined with language-specific content. Inherits all properties from Knowledge model and adds language-specific fields.
Subdomain for accessing the knowledge base (e.g., 'piedpiper' for piedpiper.fernand.help).
50"help"
Custom domain configured for the knowledge base.
250"help.piedpiper.com"
URL to the favicon image stored in CDN.
250"https://cdn.example.com/knowledge/uuid/images/favicon.png"
Default language code for the knowledge base (null for browser detection).
5"en"
Preferred color scheme for the knowledge base. Defaults to null, which will use the user system's preferences.
light, dark 5URL to the logo image for light mode.
250Hex color code for accent color in light mode.
7"#00a0ff"
URL to the logo image for dark mode.
250Hex color code for accent color in dark mode.
7"#00a0ff"
Custom CSS applied to the knowledge base.
Custom JavaScript applied to the knowledge base.
Previous URL if migrated from another help system.
250Whether the custom domain DNS is properly configured and verified.
Timestamp of the last successful DNS verification.
Whether the knowledge base should be indexed by search engines.
Main title displayed on the knowledge base homepage.
250"Help Center"
Description text shown on the knowledge base homepage.
1000"Welcome to the PiedPiper help center"
Company name displayed in the knowledge base.
250"PiedPiper help center"
Company website URL.
250"https://piedpiper.com"
Was this page helpful?