You need to enable JavaScript to run this app.
文档中心
火山方舟

火山方舟

复制全文
下载 pdf
Files API
删除文件
复制全文
下载 pdf
删除文件
DELETE https://ark.cn-beijing.volces.com/api/v3/files/{file_id}​
根据文件 ID 删除已上传的文件,并将文件从存储空间中移除。删除后该文件无法再用于模型推理输入,且无法恢复。​
鉴权​
本接口支持鉴权方式如下,详情请参见 Base URL 及鉴权。​
  • API Key 鉴权,请在 API Key 管理 页面,获取长效 API Key。​
​​
请求参数​
Path 参数​
file_id string 必选 | 文件 ID​
​
​
响应参数​
deleted boolean | 删除结果​
​
id string | 文件 ID​
​
object string | 对象类型​
​
​

Request

FILE_ID="your_file_id"
curl "https://ark.cn-beijing.volces.com/api/v3/files/$FILE_ID" \
-X DELETE \
-H "Authorization: Bearer $ARK_API_KEY"

Response

{
    "object": "file",
    "id": "file-20251014****",
    "deleted": true
}
最近更新时间:2026.09.09 19:08:08
这个页面对您有帮助吗?
有用
有用
无用
无用