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

# 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/latest/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/latest/toolbox-folder-operations)
