def METHOD_NAME(self, jobIDs):
    """Kill specified jobs"""
    jobIDList = list(jobIDs)
    if isinstance(jobIDs, str):
        jobIDList = [jobIDs]
    hostDict = {}
    for job in jobIDList:
        host = os.path.dirname(urlparse(job).path).lstrip("/")
        hostDict.setdefault(host, [])
        hostDict[host].append(job)
    failed = []
    for host, jobIDList in hostDict.items():
        result = self._killJobOnHost(jobIDList, host)
        if not result["OK"]:
            failed.extend(jobIDList)
            message = result["Message"]
    if failed:
        result = S_ERROR(message)
        result["Failed"] = failed
    else:
        result = S_OK()
    return result