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.

Was this page helpful?