---
title: "delete · RUAL Documentation"
description: "Deletes the given files."
canonical: https://docs.rual.nl/block-types/files/file_delete
language: en
---

# delete

This block is part of the [`files`](https://docs.rual.nl/block-types/files) group and was last modified in core [`v10.4.28`](https://docs.rual.nl/core-versions/100428).

Deletes the given files.

- flow `flow`

- files required `file`

- flow `flow`

- success `condition`

- error `value`

- files `file`

| `remove` |
| --- |

A typical wiring for [delete](https://docs.rual.nl/block-types/files/file_delete): [branch](https://docs.rual.nl/block-types/flow/branch) feeds the `flow` pin; [rename](https://docs.rual.nl/block-types/files/file_rename) feeds the `file` pin; the `flow` out pin feeds [funnel](https://docs.rual.nl/block-types/funnels/funnel).

![Studio canvas example for the delete block: typical wiring for delete.](https://docs.rual.nl/canvas-examples/file_delete.png)

### Commonly used with

In production blueprints, this block is most often wired together with:

- [get fields](https://docs.rual.nl/block-types/object/object_field_getter_multiple): feeds into this block. Gets the selected fields from the given object.

- [delete](https://docs.rual.nl/block-types/files/file_delete): wired in both directions with this block. Deletes the given files.

- [branch](https://docs.rual.nl/block-types/flow/branch): feeds into this block.

- [reply in JSON](https://docs.rual.nl/block-types/json/httpconnection_set_json): feeds into this block. Reply to any httpconnection as JSON body.

- [funnel](https://docs.rual.nl/block-types/funnels/funnel): this block feeds into it.

- [rename](https://docs.rual.nl/block-types/files/file_rename): feeds into this block. Renames the given files.

### Version history

Introduced in [`v10.4.28`](https://docs.rual.nl/core-versions/100428).
