Path parameters
-
The ID of the file to use for this request.
DELETE
/files/{file_id}
curl \
-X DELETE https://api.openai.com/v1/files/{file_id} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"id": "string",
"object": "file",
"deleted": true
}