latestOpenAPI 3.1.02026-08-2243193211.3 KB
0b56d0413ce0
v1
Delete a file by ID. After this returns, the file no longer appears in `GET /v1/files`, content download returns 404, and the ID can no longer be referenced in chat attachments.
delete/v1/files/{file_id}
Path parameters
file_idstring required
The file's id to delete.
Response
Success