Skip to content
Get started

Delete a file

client.files.delete(stringfileID, RequestOptionsoptions?): void
DELETE/v1/files/{file_id}

Delete a file. This cannot be undone.

ParametersExpand Collapse
fileID: string

The unique identifier of the file.

Delete a file
import DeepTable from '@deeptable/deeptable';

const client = new DeepTable({
  apiKey: process.env['DEEPTABLE_API_KEY'], // This is the default and can be omitted
});

await client.files.delete('file_01abc2def3ghjkmnpqrs4uvwxy');
Returns Examples