Hi guys,
I’m trying to remove all tags applied to a CPE after factory reset (bootstrap) with this script applied to ‘0 BOOSTRAP’ event:
const now = Date.now();
//Remove Tags
clear("Tags.*", null, {value: false});
//Clear path tree
clear("DeviceID", now);
clear("Events", now);
//clear("FactoryReset", now);
clear("InternetGatewayDevice", now);
But doesn’t work. After factory reset, tags still applied to CPE. I also was try to remove one by one in the same script with same result as follows:
const now = Date.now();
//Remove Tags
clear("Tags.tag1", null, {value: false});
clear("Tags.tag2", null, {value: false});
clear("Tags.tagN", null, {value: false});
//Clear path tree
clear("DeviceID", now);
clear("Events", now);
//clear("FactoryReset", now);
clear("InternetGatewayDevice", now);
I’m doing anything wrong? There are another method to remove all tags?
Thanks!!