This activity deletes the specified directory and, if indicated, any subdirectories and files in the directory.

The path parameter is not case-sensitive.
If Remove subdirectories and files is set to Yes, the user must have write permission for the current directory as well as for all subdirectories.
The behavior of this method differs slightly when deleting a directory that contains a reparse point, such as a symbolic link or a mount point. If the reparse point is a directory, such as a mount point, it is unmounted, and the mount point is deleted. This method does not recurse through the reparse point. If the reparse point is a symbolic link to a file, the reparse point is deleted, not the target of the symbolic link.
SharePoint Workflow Designer Phrase
Delete the specified path directory. Remove subdirectories and file: No
Parameters
Parameter | Description |
the specified path | The directory path to delete. |
Remove subdirectories and files | Yes to remove directories, subdirectories, and files in the path; otherwise, No. |