Delete a file or folder from Dropbox.

yaml
type: "io.kestra.plugin.dropbox.files.Delete"

Delete a file or folder from a specific Dropbox path.

yaml
id: dropbox_delete
namespace: company.team
tasks:
  - id: delete_report
    type: io.kestra.plugin.dropbox.files.Delete
    accessToken: "{{ secrets.DROPBOX_ACCESS_TOKEN }}"
    from: "/old_reports/stale_file.csv"
Properties

Dropbox access token.

The path of the file or folder to delete.

Can be a direct path as a string (e.g., /my/file.txt), or a Kestra internal storage URI (kestra://...) of a file containing the path.

The metadata of the deleted file or folder.

Format date-time

The last time the file was modified on Dropbox.

The unique ID of the file or folder.

The file or folder name.

The lower-case version of the path for display.

The file size in bytes.

Null for folders.

The type of the entry.

Can be 'file' or 'folder'.