> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gomobile.ma/llms.txt
> Use this file to discover all available pages before exploring further.

# Update knowledge base



## OpenAPI

````yaml /openapi.json patch /api/knowledge-bases/{id}
openapi: 3.0.0
info:
  title: GoMobile Backend API
  description: >-
    API documentation for GoMobile telephony platform - automated calling
    campaigns, interactive voice flows, and call management
  version: '1.0'
  contact: {}
servers:
  - url: http://localhost:3000
    description: Local Development
security: []
tags:
  - name: Organizations
    description: Multi-tenant organization management
  - name: Teams
    description: Team structure and hierarchy
  - name: Contacts
    description: Customer contact management (CRM)
  - name: Entities
    description: Business entities management
  - name: Audiences
    description: Contact segmentation and groups
  - name: Programs
    description: Call campaign configuration
  - name: Call Flows
    description: Interactive call flow builder
paths:
  /api/knowledge-bases/{id}:
    patch:
      tags:
        - Knowledge Base
      summary: Update knowledge base
      operationId: KnowledgeBaseController_update
      parameters:
        - name: id
          required: true
          in: path
          description: Knowledge base ID
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateKnowledgeBaseDto'
      responses:
        '200':
          description: Knowledge base updated successfully
        '404':
          description: Knowledge base not found
      security:
        - bearer: []
components:
  schemas:
    UpdateKnowledgeBaseDto:
      type: object
      properties:
        name:
          type: string
          description: Knowledge base name
          minLength: 1
          maxLength: 128
        description:
          type: string
          description: Knowledge base description
          maxLength: 2000
        status:
          type: string
          description: Knowledge base status
          enum:
            - active
            - archived
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````