Function: file.Delete

Deletes a file or folder.

Syntax

{
	"method": "file.Delete",
	"params": {
		"file": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
AdvFuture<bool> Delete( AdvString file );
public Task<bool> DeleteAsync(string file, CancellationToken ct = default);
delete(file: string): Promise<boolean>;

Parameters

file : string

Path or Id of File or Folder. Folders will be deleted with content. Pre defined folders may not be deleted.

Result : bool

True if successful.

Remarks

This method requires API write access.