fixed the rest of delete API calls