DELETE
/
paas
/
v4
/
files
/
{file_id}
删除文件
curl --request DELETE \
  --url https://open.bigmodel.cn/api/paas/v4/files/{file_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "object": "file",
  "deleted": true
}

Authorizations

Authorization
string
header
required

使用以下格式进行身份验证:Bearer <your api key>

Path Parameters

file_id
string
required

文件唯一标识符

Response

200
application/json

业务处理成功

The response is of type object.