v4

OpenAPI 3.1.02026-08-01166346466.7 KB
files

Delete file

Delete a specific file by its ID.

Removes the file from every store that references it (cleaning up chunks and store stats) before deleting the file object itself.

Args: file_id: The ID of the file to delete.

Returns: FileDeleted: The response containing the details of the deleted file.

delete/v1/files/{file_id}

Path parameters

file_idstring uuid required

The ID of the file to delete

The ID of the file to delete

Response

The details of the deleted file

idstring required

The ID of the deleted file

deletedboolean

Whether the file was deleted

object'file'

The type of the deleted object