object hostinterface.update(object/array hostInterfaces)
This method allows to update existing host interfaces.
This method is only available to Admin and Super admin user types. Permissions to call the method can be revoked in user role settings. See User roles for more information.
(object/array) Host interface properties to be updated.
interfaceid property must be defined for each host interface, all other properties are optional. Only the given properties will be updated, all others will remain unchanged.
(object) Returns an object containing the IDs of the updated host interfaces under the
Change the port of a host interface.
CHostInterface::update() in ui/include/classes/api/services/CHostInterface.php.