'delete <sid>
Delete a scan with scan ID, <sid>.'

def do_delete(self, line):

    c = self.myparseline(line)
    try:
        id = c[0][0]
    except BaseException as e:
        self.edprint('Invalid    syntax.')
        return
    d = self.request(((self.ownopts['cli.server_baseurl'] + '/scandelete?confirm=1&raw=1&id=') + id))
    if (not d):
        return
    s = json.loads(d)
    if (s[0] == 'SUCCESS'):
        self.dprint('Successfully    deleted    scan.')
    else:
        self.dprint(('Something    odd    happened:    ' + str(s[1])))
