def abort_link(id): try: PYLOAD.stopDownloads([id]) return {"response": "success"} except: return HTTPError()