Delete a file or folder from Dropbox.
type: "io.kestra.plugin.dropbox.files.Delete"Examples
Delete a file or folder from a specific Dropbox path.
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
accessToken *Requiredstring
Dropbox access token.
from *RequiredNon-dynamicobject
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.
Outputs
file DropboxFile
The metadata of the deleted file or folder.
Definitions
io.kestra.plugin.dropbox.models.DropboxFile
clientModified string
date-timeThe last time the file was modified on Dropbox.
id string
The unique ID of the file or folder.
name string
The file or folder name.
path string
The lower-case version of the path for display.
size integer
The file size in bytes.
Null for folders.
type string
The type of the entry.
Can be 'file' or 'folder'.