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>",
"target": "_blank",
"position": "HEADER",
"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>",
"target": "_blank",
"position": "HEADER",
"sort": 123
}
'{
"id": 123,
"sort": 1,
"url": "https://piedpiper.com/contact",
"target": "_blank",
"position": "HEADER",
"title": "Contact Us"
}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?