provider Knowledge Bases PATCH /knowledge_bases/{knowledge_base_id}/locales/{locale}/content
@utdk/front /knowledge_bases/{knowledge_base_id}/locales/{locale}/content
Update knowledge base in specified locale
Updates a knowledge base for a given locale. Will republish the knowledge base if the knowledge base is currently published. Required scope: `knowledge_bases:write`
knowledge_base_id path required
The ID of the knowledge base to update
string
locale path required
The [locale](https://dev.frontapp.com/reference/knowledge-bases#locales) of the updated content
string

Try it

Authentication
Configure credentials for Core API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

updateKnowledgeBaseInSpecifiedLocale
PATCH/knowledge_bases/{knowledge_base_id}/locales/{locale}/content
Updates a knowledge base for a given locale. Will republish the knowledge base if the knowledge base is currently published. Required scope: `knowledge_bases:write`

Parameters

required

The ID of the knowledge base to update

required

The [locale](https://dev.frontapp.com/reference/knowledge-bases#locales) of the updated content

Input

Name of the knowledge base

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import front from '@utdk/front';

await front.updateKnowledgeBaseInSpecifiedLocale({
  "knowledge_base_id": "knb_123",
  "locale": "en"
})