This method allows to update existing proxies.
Parameters
(object/array)
Proxy properties to be updated.
The property must be defined for each proxy, all other properties are optional. Only the passed properties will be updated, all others will remain unchanged.
Additionally to the standard proxy properties, the method accepts the following parameters.
Examples
Change hosts monitored by a proxy
Update the proxy to monitor the two given hosts.
Request:
Response:
Change proxy status
Change the proxy to an active proxy and rename it to “Active proxy”.
Response:
Source
CProxy::update() in frontends/php/include/classes/api/services/CProxy.php.