---
title: "UpdateKnowledgeBase"
method: PUT
path: "/api/v1/knowledge_base/detail"
tags: ["knowledge_base"]
---

# UpdateKnowledgeBase

`PUT /api/v1/knowledge_base/detail`

UpdateKnowledgeBase

## Request body

- DomainUpdateKnowledgeBaseReq
  - `access_settings` DomainAccessSettings
    - `base_url` string
    - `enterprise_auth` DomainEnterpriseAuth
      - `enabled` boolean
    - `hosts` string[]
    - `is_forbidden` boolean — 禁止访问
    - `ports` integer[]
    - `private_key` string
    - `public_key` string
    - `simple_auth` DomainSimpleAuth
      - `enabled` boolean
      - `password` string
    - `source_type` 'dingtalk' | 'feishu' | 'wecom' | 'oauth' | 'github' | 'cas' | 'ldap' | 'widget' | 'dingtalk_bot' | 'feishu_bot' | 'lark_bot' | 'wechat_bot' | 'wecom_ai_bot' | 'wechat_service_bot' | 'discord_bot' | 'wechat_official_account' | 'openai_api' | 'mcp_server'
    - `ssl_ports` integer[]
    - `trusted_proxies` string[]
  - `id` string, required
  - `name` string

## Response `200`

OK

- DomainResponse
  - `data` unknown
  - `message` string
  - `success` boolean

---

[API](https://skmtc.dev/chaitin/apis/panda-wiki-api.md) · [All operations](https://skmtc.dev/chaitin/apis/panda-wiki-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chaitin/panda-wiki-api/revisions/c088839a56db/schema)
