synDownloadListRemove
synDownloadListRemove.RdRemove files from the Synapse download list.
If a file was added with a version specified, then that version must be specified to remove it. If a file was added with no version specified, then no version must be specified to remove it.
Arguments
- files
(list[DownloadListItem]) List of
DownloadListItemobjects identifying the file versions to remove.- synapse_client
(Optional[Synapse]) If not passed in, the last created instance from the Synapse class constructor will be used.
Examples
if (FALSE) { # \dontrun{
## Remove files from the download list
# Remove specific file versions from the cart.
library(synapser)
synLogin()
count = synDownloadListRemove(list(
DownloadListItem(file_entity_id = "syn123", version_number = 1L)
))
} # }