Skip to content
Get started

Delete a file

files.delete(strfile_id)
DELETE/v1/files/{file_id}

Delete a file. This cannot be undone.

ParametersExpand Collapse
file_id: str

The unique identifier of the file.

Delete a file
import os
from deeptable import DeepTable

client = DeepTable(
    api_key=os.environ.get("DEEPTABLE_API_KEY"),  # This is the default and can be omitted
)
client.files.delete(
    "file_01abc2def3ghjkmnpqrs4uvwxy",
)
Returns Examples