Delete Delete

yaml
type: "io.kestra.core.tasks.storages.Delete"

Delete a file from the Kestra's internal storage.

Examples

yaml
id: "delete"
type: "io.kestra.core.tasks.storages.Delete"
uri: "kestra://long/url/file.txt"

Properties

uri

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️

The file to be deleted.

Must be a kestra:// storage URI.

errorOnMissing

  • Type: boolean
  • Dynamic: ✔️
  • Required:
  • Default: false

Raise an error if the file is not found.

Outputs

deleted

  • Type: boolean
  • Dynamic:
  • Required:

Whether the file was deleted.

uri

  • Type: string
  • Dynamic:
  • Required:
  • Format: uri

The deleted file URI.