Skip to main content

Delete File

Category: Files Delete File block screenshot

Deletes a file at a given filesystem path. Use onError to decide whether errors stop the script, continue, or return false when the block supports it.

Inputs

InputRequiredValue KindTypesEnum Values
pathyesexpressionfile-path-string
reasonnoexpression
onErrornoexpressionenum-stringSTOP, CONTINUE, RETURN_FALSE

Notes

No additional notes are available yet.