curl --request DELETE \
--url https://api.moonshot.cn/v1/files/{file_id} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"object": "file",
"deleted": true
}删除一个已上传的文件。
curl --request DELETE \
--url https://api.moonshot.cn/v1/files/{file_id} \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"object": "file",
"deleted": true
}Documentation Index
Fetch the complete documentation index at: https://platform.kimi.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
调用示例
client.files.delete(file_id=file_id)
此页面对您有帮助吗?