更新知识库

替换现有的知识库条目。此端点执行 完全替换scope_propertyscope_channelcontentsis_enable 必须全部提供。如果您只想更改一个字段,请先使用 GET /knowledge_bases/{id}

Path Params
integer
required

要更新的知识库条目的 ID。

Body Params
scope_property
object
required

房间范围配置。

scope_channel
object
required

渠道范围配置。

contents
array of objects
required
length ≥ 1

知识库的内容条目。

contents*
string
required

内容文本。

string
required

此内容块的副标题。

string

知识库条目的可选标题。

boolean
required

该条目是否启用。

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json