delete_download
Deletes one or more download tasks by ID on a Synology NAS. Finished files are kept, but unfinished partial data is discarded irreversibly, so confirm tasks before deleting.
Instructions
Remove one or more download tasks. A deleted task can't be restored (its source URL is gone with it), so name the tasks and confirm with the user before deleting. Files from finished tasks are always kept. For unfinished tasks the partial data is discarded (irreversible); don't rely on force_complete to keep it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_ids | Yes | IDs of the tasks to remove, from list_downloads. | |
| force_complete | No | Ask DSM to keep an unfinished task's partial file instead of discarding it (DSM may discard it anyway). Leave false (default) for finished tasks: DSM refuses them with it. |