Switch api locations