v27
latestOpenAPI 3.0.02026-07-1347144237.4 KBFiles:
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.