Change default api location to deployment instance