请求头
枚举值:
application/jsonBearer 身份验证格式,例如:Bearer {{API 密钥}}。
路径参数
要删除的文件唯一标识符。
响应
指示文件是否被成功删除。删除成功时返回
true。被删除文件的唯一标识符。
对象类型,恒为
file。curl --request DELETE \
--url https://api.ppinfra.com/openai/v1/files/{file_id} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>'{
"deleted": true,
"id": "<string>",
"object": "<string>"
}curl --request DELETE \
--url https://api.ppinfra.com/openai/v1/files/{file_id} \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>'{
"deleted": true,
"id": "<string>",
"object": "<string>"
}application/jsontrue。file。