Delete Data Source File

Delete a file or directory within a filesystem data source.

Syntax

delete data source <data source reference> file "<file>" [at path "<path>"] [if exists] [recursive]

Parameters

data source reference

String. Name of the data source to delete the file from.

file

String. The file or directory to delete.

path

String. If present, prefix the file or directory with the given path.

if exists

None. If present, do not throw an error if the file or directory to delete does not exist.

recursive

None. If present, and the file is a directory, recursively delete the directory.


Was this article helpful?
0 out of 0 found this helpful