> For the complete documentation index, see [llms.txt](https://docs.file0.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.file0.dev/sdk/delete.md). Agents can also search and read this documentation through its [MCP server](https://docs.file0.dev/~gitbook/mcp).

# Delete

You can delete files by providing the file name.

```typescript
import { f0 } from "file0";

await f0.delete("hello.txt");
```
