Skip to main content
POST
删除会话

限制说明

使用说明

  • 个人会话仅创建者可删除;团队会话可由创建者、账户管理员或所属团队成员删除。
  • 这是软删除:会级联删除子智能体会话及其已展示的文件;底层 S3/MinIO 对象在事务提交后尽力清理,部分失败时可能残留孤立对象。

授权

app_key
string
query
必填

App key issued from the Flashduty console. Required on every public API call. Keep it secret — it grants the same access as the owning account.

请求体

application/json

按 ID 删除会话。

session_id
string
必填

目标会话 ID。

Minimum string length: 1

响应

Success

Standard response envelope used by every Flashduty public API. On success data contains the endpoint-specific payload and error is absent. On failure error is present and data is absent. request_id is always present and is also mirrored in the Flashcat-Request-Id response header.

request_id
string
必填

Unique ID for this request. Mirrored in the Flashcat-Request-Id header. Include it when reporting issues.

示例:

"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"

error
object

Error payload inside the response envelope. Present only on non-2xx responses.

data
null

成功时恒为 null。