• Delete a file or dir.

    Parameters

    • file: PathItem
    • trash: boolean = true

      Move to trash or not, default is true.

    Returns Promise<ApiResult<any>>