Updated Purge API Call