API - Delete + All Files

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
markus101
Release Testers
Release Testers
Posts: 406
Joined: August 13th, 2008, 2:51 am

API - Delete + All Files

Post by markus101 »

Hello,

Apologies if this information is somewhere, but I can't seem to find an answer to my issue below.
I know that if I have the nzo_id of a queue item I can delete that queue entry from the queue, but what happens to the files that have already been downloaded (assuming that they have), I know within the Plush theme I am given the option to just delete the item from the queue or alternatively delete the item + any associated files. Is this open through the API?

I'm referring to: http://wiki.sabnzbd.org/api#toc23

Thanks,

Markus
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: API - Delete + All Files

Post by shypike »

api?mode=queue&name=delete&value=nzo&del_files=1
markus101
Release Testers
Release Testers
Posts: 406
Joined: August 13th, 2008, 2:51 am

Re: API - Delete + All Files

Post by markus101 »

Thanks shypike, I appreciate the quick response.
Post Reply