code: def delete_detector(self, detector_id, **kwargs):
          
          resp = self._delete(self._u(self._DETECTOR_ENDPOINT_SUFFIX,
                                      detector_id),
                              **kwargs)
          resp.raise_for_status()
          # successful delete returns 204, which has no response json
          return resp
docs: Remove a detector.
  
          Args:
              detector_id (string): the ID of the detector.