---
schema_version: "1"
id: b0188536fbf54bbb8560a68980756d2dcc62e22407ef2acad2637fbb45d97615
title: Delete Folder
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/rpa-builder/6.6/toolbox-folder-operations-delete-folder.md
canonical_url: https://docs.mulesoft.com/rpa-builder/6.6/toolbox-folder-operations-delete-folder
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 84e2d5374eb650d58f7fdccc008152568476c7505cce8c714b741adb3ac3a13b
description: MuleSoft Documentation Site
release: "6.6"
latest: false
---
---
product: RPA Builder
version: 6.6
---

# Delete Folder

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Use this action step to delete a folder and all its content.

## Properties

- **Common**

  See [Common Properties](https://docs.mulesoft.com/rpa-builder/6.6/common-properties) for a description.

- **Folder Operations Settings**

  - **Directory Path**

    Path to the directory that contains the folder to delete.

  - **Force error if folder does not exist**

    Causes the workflow to enter an error state and stop its execution if the folder does not exist.

  - **Only delete if folder is empty**

    Causes the workflow to enter an error state and stop its execution if the folder exists but it’s
    not empty.

## Inbound Variables

- **Force error if folder does not exist**

- **Only delete if folder is empty**

- **Directory Path**

## Outbound Variables

- **Directory Path**

## See Also

- [Folder Operations](https://docs.mulesoft.com/rpa-builder/6.6/toolbox-folder-operations)
