v1

latestOpenAPI 3.0.2MIT2026-07-24141061.6 KB
Files

Delete file

Delete a file.

delete/files/{file_id}

Path parameters

file_idstring required

The ID of the file to delete.

Response

Success. The File object matching the specified ID is deleted.

idstring

The file identifier.

objectstring

The object type, which is always file.

deletedboolean

Indicates whether the file was successfully deleted. Returns true if the file was deleted, otherwise returns false.