removes api from app