亮色模式
Delete file
DELETE
https://api.openai.com/v1/files/{file_id}Delete a file.
Request
Path 参数
file_id
string
必需
The ID of the file to use for this request
Header 参数
Authorization
string
可选
示例值:
Bearer
Request samples
返回响应
成功(200)
HTTP Code: 200
Content Type : JSONapplication/json
数据结构
id
string
必需
object
string
必需
deleted
boolean
必需
示例
{
"id": "file-XjGxS3KTG0uNmNOK362iJua3",
"object": "file",
"deleted": true
}
最后修改时间: 10 天前