---
updatedAt: 2026-05-28T15:48:11.000Z
agentTools:
  projectIndex: https://dev.frontapp.com/llms.txt
---

# 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`

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "x-api-id": "front",
  "x-explorer-enabled": false,
  "x-proxy-enabled": true,
  "x-samples-enabled": true,
  "info": {
    "version": "1.0.0",
    "title": "Core API",
    "contact": {
      "name": "Front Platform",
      "url": "https://community.front.com"
    }
  },
  "security": [
    {
      "http": []
    }
  ],
  "servers": [
    {
      "url": "https://api2.frontapp.com"
    }
  ],
  "components": {
    "schemas": {
      "KnowledgeBasePatch": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of the knowledge base"
          }
        }
      },
      "KnowledgeBaseResponse": {
        "type": "object",
        "required": [
          "_links",
          "id",
          "name",
          "status",
          "type",
          "locale"
        ],
        "properties": {
          "_links": {
            "type": "object",
            "properties": {
              "self": {
                "type": "string",
                "description": "Link to resource",
                "example": "https://yourCompany.api.frontapp.com/knowledge_bases/knb_12"
              },
              "related": {
                "type": "object",
                "properties": {
                  "articles": {
                    "type": "string",
                    "description": "Link to articles associated to the knowledge base",
                    "example": "https://yourCompany.api.frontapp.com/knowledge_bases/knb_12/articles"
                  },
                  "categories": {
                    "type": "string",
                    "description": "Link to categories associated to the knowledge base",
                    "example": "https://yourCompany.api.frontapp.com/knowledge_bases/knb_12/categories"
                  }
                }
              }
            }
          },
          "id": {
            "type": "string",
            "description": "Unique identifier of the knowledge base",
            "example": "knb_12"
          },
          "name": {
            "type": "string",
            "description": "Knowledge base name",
            "example": "Company Help Center"
          },
          "status": {
            "type": "string",
            "enum": [
              "published",
              "unpublished"
            ],
            "description": "Status of the KB",
            "example": "unpublished"
          },
          "type": {
            "type": "string",
            "enum": [
              "internal",
              "external"
            ],
            "description": "Type of the KB",
            "example": "internal"
          },
          "locale": {
            "type": "string",
            "enum": [
              "fr",
              "en"
            ],
            "description": "Locale of this requested KB",
            "example": "en"
          },
          "created_at": {
            "type": "number",
            "description": "Timestamp when the knowledge base was created",
            "example": 1622672452.363
          },
          "updated_at": {
            "type": "number",
            "description": "Timestamp when the knowledge base was updated",
            "example": 1654309308.278
          }
        }
      }
    },
    "securitySchemes": {
      "http": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "responses": {
      "knowledgeBase": {
        "description": "A knowledge base with content",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/KnowledgeBaseResponse"
            }
          }
        }
      }
    }
  },
  "paths": {
    "/knowledge_bases/{knowledge_base_id}/locales/{locale}/content": {
      "patch": {
        "summary": "Update knowledge base in specified locale",
        "operationId": "update-knowledge-base-in-specified-locale",
        "description": "Updates a knowledge base for a given locale. Will republish the knowledge base if the knowledge base is currently published.\n\nRequired scope: `knowledge_bases:write`",
        "tags": [
          "Knowledge Bases"
        ],
        "parameters": [
          {
            "in": "path",
            "name": "knowledge_base_id",
            "required": true,
            "description": "The ID of the knowledge base to update",
            "schema": {
              "type": "string",
              "default": "knb_123"
            }
          },
          {
            "in": "path",
            "name": "locale",
            "required": true,
            "description": "The [locale](https://dev.frontapp.com/reference/knowledge-bases#locales) of the updated content",
            "schema": {
              "type": "string",
              "default": "en"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "required": [
                  "name"
                ],
                "$ref": "#/components/schemas/KnowledgeBasePatch"
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/knowledgeBase"
          }
        },
        "x-required-scopes": [
          "knowledge_bases:write"
        ]
      }
    }
  }
}
```