v4
latestOpenAPI 3.1.02026-08-0143190206.8 KBv1
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