Update permalink of translation

POST {{baseUrl}}/api/v1/articles/:article_id/translations/{locale}/permalinks/add

This API updates the permalink of a translation and adds the old permalink to the redirection list

OAuth Scope

  • Desk.articles.UPDATE

Attributes

Attribute NameData TypeDescription
permalink (required)<String>
The permalink of Solution
isOldPermalinkNeeded<Boolean>
The variable that defines if permalink needs to be added to redirect list. By default, it is true

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;primaryPermalink&quot;:&quot;how-to-open-account&quot;,&quot;secondaryPermalinks&quot;:[&quot;how-to-open-account-1&quot;,&quot;how-to-open-account-3&quot;,&quot;how-to-open-account-2&quot;]}