﻿---
title: Change the ECE API URL
description: You can configure the HTTPS URL used to access the ECE API. You can specify either a DNS host name or an IP address. The primary use for this is to enable...
url: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/5143/deploy-manage/deploy/cloud-enterprise/change-ece-api-url
products:
  - Elastic Cloud Enterprise
applies_to:
  - Elastic Cloud Enterprise: Generally available
---

# Change the ECE API URL
You can configure the HTTPS URL used to access the ECE API. You can specify either a DNS host name or an IP address. The primary use for this is to enable [single sign-on](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/5143/deploy-manage/users-roles/cloud-enterprise-orchestrator/configure-sso-for-deployments) on your deployments, so you can log into Kibana automatically once logged in to ECE.
To change the ECE API URL in the Cloud UI:
1. [Log into the Cloud UI](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/5143/deploy-manage/deploy/cloud-enterprise/log-into-cloud-ui).
2. From the **Platform** menu, select **Settings**.
3. Select **Edit** and update the API URL setting.
4. Select **Update** and then **Save** to confirm the change.

To set the API base URL during installation or upgrade you can supply the `--api-base-url` command line argument:
```sh
bash <(curl -fsSL https://download.elastic.co/cloud/elastic-cloud-enterprise.sh) install --api-base-url $ECE_HTTPS_URL

bash <(curl -fsSL https://download.elastic.co/cloud/elastic-cloud-enterprise.sh) upgrade --user admin --pass $PASSWORD --api-base-url $ECE_HTTPS_URL
```

For existing deployments, the new ECE API URL will take effect whenever the deployment configuration plan is next updated.