...
qb.deleteworkerresources("shinyambp.local", ["host.extres"])
qb.deleteworkerpropertiessdeleteworkerproperties("shinyambp.local", ["host.extprop", "host.extprop2"])
Note that these routines require a list for the 2nd argument (like ["host.extres"]) .