🚀 New! Kestra raises $3 million to grow Learn more

Delete Delete

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

Delete a file from the internal storage.

Examples

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

Properties

errorOnMissing

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

raise an error if the file is not found

uri

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

the file to delete

Must be a kestra:// storage url

Outputs

deleted

  • Type: boolean

If the files was really deleted

uri

  • Type: string

The deleted