Delete a file
files.delete(strfile_id)
DELETE/files/{file_id}
Soft-delete a file. It can no longer be referenced from new generations. Returns 204 with no body.
Delete a file
import os
from luma_agents import Luma
client = Luma(
auth_token=os.environ.get("LUMA_AGENTS_API_KEY"), # This is the default and can be omitted
)
client.files.delete(
"182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
)