Skip to content

Delete

Deletes specified file from repository.

1
myFiles.Delete(id: string):void

Parameters

string id
    Id number of file

Remarks

If id parameter is not a guid value throws an Error

Usage

1
2
3
4
5
files.forEach(function(file) {
    // do sth with the file

    $Files.Delete(file.Id);
});