보조 파일 삭제(v1)
DELETE
https://api.openai.com/v1/assistants/asst_abc123/files/file-abc123
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://api.openai.com/v1/assistants/asst_abc123/files/file-abc123' \
--header 'Authorization: Bearer $OPENAI_API_KEY' \
--header 'OpenAI-Beta: assistants=v1' \
--header 'Content-Type: application/json' \
--data-raw ''
Response Response Example
{
id: "file-abc123",
object: "assistant.file.deleted",
deleted: true
}
Request
Header Params
Authorization
string
required
Example:
Bearer $OPENAI_API_KEY
Content-Type
string
required
Example:
application/json
OpenAI-Beta
string
required
Example:
assistants=v1
Responses
Modified at 2024-12-13 06:24:46