cURL
curl --request DELETE \ --url https://open.bigmodel.cn/api/paas/v4/files/{file_id} \ --header 'Authorization: Bearer <token>'
{ "id": "<string>", "object": "file", "deleted": true }
永久删除指定文件及其所有关联数据。
Documentation IndexFetch the complete documentation index at: https://docs.bigmodel.cn/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.bigmodel.cn/llms.txt
Use this file to discover all available pages before exploring further.
使用以下格式进行身份验证:Bearer
文件唯一标识符
业务处理成功
删除的资源ID
ID
资源类型
file
是否成功删除