# Folder Content Delete Action

The **Folder Content Delete Action** node deletes all contents of one or more specified folders.

All files and subfolders inside the provided directories are removed recursively, while the specified root folder itself remains intact.

#### Input Parameters

**Folder Path**\
List of folder paths whose contents should be deleted.

<figure><img src="/files/4aXzvtqKHMlJCTkb9EPP" alt="" width="354"><figcaption><p>Folder Content Delete Action</p></figcaption></figure>

#### Behavior

* Deletes all files inside the folder
* Deletes all subdirectories recursively
* Keeps the root folder itself
* Operates on the host running the stream (client or server)
* Supports asynchronous execution

#### Typical Use Cases

* cleaning temporary working directories
* clearing cache folders
* resetting watchfolders
* preparing folders for new ingest or rendering jobs
* post-delivery cleanup

#### Important Note

The deletion is permanent and bypasses any recycle bin or trash mechanism provided by the operating system.\
Only the contents of the folder are removed — the folder itself will still exist after execution.

#### Practical Tip

This node is useful when a workflow expects an existing directory but requires it to be empty before starting a new process (for example, watchfolders or render output directories).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.helmut.de/helmut4-releases/helmut4-components/streamdesigner/nodes/actions/file-and-folder-22/folder-content-delete-action.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
