temp api folder deletion