code: def delete_insight(self, project_owner, project_id, id, **kwargs):
          
          kwargs['_return_http_data_only'] = True
          if kwargs.get('callback'):
              return self.delete_insight_with_http_info(project_owner, project_id, id, **kwargs)
          else:
              (data) = self.delete_insight_with_http_info(project_owner, project_id, id, **kwargs)
              return data
docs: Delete an insight
          Delete an existing insight.
          This method makes a synchronous HTTP request by default. To make an
          asynchronous HTTP request, please define a `callback` function
          to be invoked when receiving the response.
          >>> def callback_function(response):
          >>>     pprint(response)
          >>>
          >>> thread = api.delete_insight(project_owner, project_id, id, callback=callback_function)
  
          :param callback function: The callback function
              for asynchronous request. (optional)
          :param str project_owner: User name and unique identifier of the creator of a project. For example, in the URL: [https://data.world/government/how-to-add-depth-to-your-data-with-the-us-census-acs](https://data.world/government/how-to-add-depth-to-your-data-with-the-us-census-acs), `government` is the unique identifier of the owner. (required)
          :param str project_id: User name and unique identifier of the project. For example, in the URL: [https://data.world/government/how-to-add-depth-to-your-data-with-the-us-census-acs](https://data.world/government/how-to-add-depth-to-your-data-with-the-us-census-acs), `how-to-add-depth-to-your-data-with-the-us-census-acs` is the unique identifier of the owner. (required)
          :param str id: Insight unique identifier. (required)
          :return: SuccessMessage
                   If the method is called asynchronously,
                   returns the request thread.