> For the complete documentation index, see [llms.txt](https://docs.emobiq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emobiq.com/emobiq-client/006-actions-and-visual-logic/action-reference/cordova/file/delete.md).

# Delete

## Description

Delete a file.

## Input / Parameter

| Name       | Description                 | Data Type   | Default | Options | Required |
| ---------- | --------------------------- | ----------- | ------- | ------- | -------- |
| storage    | Size of the file.           | Number      | -       | -       | Yes      |
| all        | Delete all files?           | Boolean     | -       | -       | No       |
| folderPath | Path of the file to delete. | String/Text | -       | -       | Yes      |
| fileName   | Name of the file to delete. | String/Text | -       | -       | Yes      |

## Output

N/A

## Callback?

### callback

The function to be executed when the file is deleted successfully.

### errorCallback

The function to be executed when the file is not deleted successfully.

## Video

Coming Soon.

## Example

Coming Soon.

### Steps

Coming Soon.

### Result

Coming Soon.

## Links
