Model/Api.php
public function configureImageOptimizationDefaultConfigOptions($params, $version)
    {
        $url = $this->_getApiServiceUri(). 'version/'. $version . '/io_settings';
        $result = $this->_fetch($url, \Zend_Http_Client::PATCH, $params);

        return $result;
    }
public function configureImageOptimizationDefaultConfigOptions($params, $version)
    {
        $url = $this->_getApiServiceUri(). 'version/'. $version . '/io_settings';
        $result = $this->_fetch($url, \Zend_Http_Client::PATCH, $params);

        return $result;
    }
Configure the image optimization default config options

@param $params
@param $version
@return bool|mixed
@throws LocalizedException