跳转到主要内容
POST
/
open
/
agentic_engine
/
laiye
/
files
/
{file_id}
/
delete
删除文件
const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};

fetch('https://adp.laiye.com/open/agentic_engine/laiye/files/{file_id}/delete', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "code": "<string>",
  "message": "<string>",
  "tips": "<string>",
  "data": {
    "id": "<string>"
  }
}

授权

X-API-Key
string
header
必填

工作流智能引擎 API 访问密钥。

路径参数

file_id
string
必填

文件 ID。

响应

文件删除结果。

code

业务码。成功通常为 success 或 200。

message
string

返回信息。

tips
string | null

详细信息,默认为空。

data
object