version: 2.1.3


Delete a folder or file if exist, if the folder have subFiles , need to set sub parameter to true. if you don't , you will receive error


path string folder or file path for deleting Yes
sub Boolean pass true for deleting folders contain files Optional(true)

Method errors

path parameter not found parameter path not founded , set it like example
folder have subfiles delete function cannot delete folder because its have subFiles and sub parameter haven't true value

Method examples


Method alices

There is no alices

Method output :