def delete_anomaly(self, anomaly):
        check_resource_type(anomaly, ANOMALY_PATH,
                            message="An anomaly detector id is needed.")
        anomaly_id = get_anomaly_id(anomaly)
        if anomaly_id:
            return self._delete("%s%s" % (self.url, anomaly_id))
Deletes an anomaly detector.
dataset/ETHPy150Open bigmlcom/python/bigml/anomalyhandler.py/AnomalyHandler.delete_anomaly