Remove Macro APIs from database