Delete Delete

yaml
type: "io.kestra.plugin.core.storage.Delete"

Delete a file from the Kestra's internal storage.

Examples

yaml
id: "delete"
type: "io.kestra.plugin.core.storage.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
  • Required:

Whether the file was deleted.

uri

  • Type: string
  • Required:
  • Format: uri

The deleted file URI.

Was this page helpful?