Skip to main content
delete/conversations/{conversation_id}
Request example
Response
delete/conversations/{conversation_id}

Authorization

Authorizationstringheaderrequired#

每个请求都通过 API Key 认证:Authorization: Bearer {API_KEY}。应用接口使用应用 API Key,知识库接口使用知识库 API Key(快速开始)。

API Key 应保存在服务端,切勿嵌入客户端代码。缺失或无效的 Key 会返回 HTTP 401(unauthorized)。

Path parameters

conversation_idstringrequired#
要删除的会话 ID。会话 ID 从 获取会话列表 获取。

Body

application/json
userstring#
终端用户标识,由你的应用定义,需在应用内唯一。参见 终端用户身份。

Responses

会话删除成功。无返回内容。