add method to delete an API from the APIList