Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The ID of the file to use for this request.
curl --request DELETE \
--url https://api.openai.com/v1/files/{file_id} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"object": "file",
"deleted": true
}
curl --request DELETE \
--url https://api.openai.com/v1/files/{file_id} \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"object": "file",
"deleted": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The ID of the file to use for this request.
Was this page helpful?