code: public function configureImageOptimizationDefaultConfigOptions($params, $version)
      {
          $url = $this->_getApiServiceUri(). 'version/'. $version . '/io_settings';
          $result = $this->_fetch($url, \Zend_Http_Client::PATCH, $params);
  
          return $result;
      }
docs: Configure the image optimization default config options
  
  @param $params
  @param $version
  @return bool|mixed
  @throws LocalizedException