def delete_job(id): return rest.delete_resource("%s/jobs/%s" % (WS_URL, id))
def delete_job(job_id): """Delete a job and return whether the deletion was successful""" uri = "{0}/jobs/{1}".format(settings.BASEURI, job_id) success = rest.delete_resource(uri) return success