object valuemap.update(object/array valuemaps)
This method allows to update existing value maps.
This method is only available to Super admin user type. Permissions to call the method can be revoked in user role settings. See User roles for more information.
(object/array) Value map properties to be updated.
valuemapid property must be defined for each value map, all other properties are optional. Only the passed properties will be updated, all others will remain unchanged.
(object) Returns an object containing the IDs of the updated value maps under the
Change value map name to "Device status".
CValueMap::update() in ui/include/classes/api/services/CValueMap.php.