api cleansing/purge