code: def delete_object(self, ref, delete_arguments=None):
          
          opts = self._get_request_options()
          if not isinstance(delete_arguments, dict):
              delete_arguments = {}
          url = self._construct_url(ref, query_params=delete_arguments)
          self._log_request('delete', url, opts)
          r = self.session.delete(url, **opts)
  
          self._validate_authorized(r)
  
          if r.status_code != requests.codes.ok:
              self._check_service_availability('delete', r, ref)
  
              raise ib_ex.InfobloxCannotDeleteObject(
                  response=jsonutils.loads(r.content),
                  ref=ref,
                  content=r.content,
                  code=r.status_code)
  
          return self._parse_reply(r)
docs: Remove an Infoblox object
  
          Args:
              ref               (str): Object reference
              delete_arguments (dict): Extra delete arguments
          Returns:
              The object reference of the removed object
          Raises:
              InfobloxException