v27

latestOpenAPI 3.0.02026-07-1347144237.4 KB
Files:

Deletes the file with the given file-id. Deletion is also allowed if a file was used, e.g., as training file in a fine-tune job.

delete/files/{file-id}

Path parameters

file-idstring required

The identifier of the file.

Query parameters

api-versionstring required

The requested API version.

Response

The file was successfully deleted.

objectstring required

If the file was deleted.

deletedboolean required

A value indicating whether gets if the file was deleted.

idstring required

The file-id that was deleted.