code: def delete_polygon(self, polygon):
          
          assert polygon.id is not None
          status, _ = self.http_client.delete(
              NAMED_POLYGON_URI % str(polygon.id),
              params={'appid': self.API_key},
              headers={'Content-Type': 'application/json'})
docs: Deletes on the Agro API the Polygon identified by the ID of the provided polygon object.
  
          :param polygon: the `pyowm.agro10.polygon.Polygon` object to be deleted
          :type polygon: `pyowm.agro10.polygon.Polygon` instance
          :returns: `None` if deletion is successful, an exception otherwise