curl --request PATCH \
--url https://api.getfernand.com/knowledge/links/{id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"title": "<string>",
"url": "<string>",
"sort": 123
}
'{
"id": 123,
"sort": 1,
"url": "https://piedpiper.com/contact",
"target": "_blank",
"position": "HEADER",
"title": "Contact Us"
}curl --request PATCH \
--url https://api.getfernand.com/knowledge/links/{id} \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"title": "<string>",
"url": "<string>",
"sort": 123
}
'{
"id": 123,
"sort": 1,
"url": "https://piedpiper.com/contact",
"target": "_blank",
"position": "HEADER",
"title": "Contact Us"
}Updates link properties. When updating the sort order, provide only the ‘sort’ field with the new zero-based position - this will reorder the link within its position (HEADER or FOOTER) and adjust neighboring links automatically. When updating other fields, all link properties can be modified individually or together. URLs are automatically prefixed with https:// if no protocol is provided.Documentation Index
Fetch the complete documentation index at: https://developers.getfernand.com/llms.txt
Use this file to discover all available pages before exploring further.
ID of the link to update.
Display text for the link (optional).
60Destination URL (optional, automatically prefixed with https:// if missing).
250Link target behavior (optional).
_blank, _self 6Display position (optional, case-insensitive).
HEADER, FOOTER 6New sort position (zero-based, optional). When provided, only updates sort order and returns empty response.
Link updated successfully. Returns empty response when only sort was updated, otherwise returns the updated link.
Navigation link combined with language-specific content. Inherits all properties from KnowledgeLink model and adds language-specific fields.
Unique identifier for the link.
Sort order within the position (HEADER or FOOTER).
1
Destination URL for the link.
250"https://piedpiper.com/contact"
Link target behavior - _blank for new tab, _self for same window.
_blank, _self 6"_blank"
Where the link is displayed in the knowledge base.
HEADER, FOOTER 6"HEADER"
Display text for the link shown in navigation.
250"Contact Us"
Was this page helpful?