If you want to change the matching domain for your active Cloud Endpoint without any downtime to your services, you can use the ngrok API to update its values instead of deleting and recreating the endpoint in the dashboard.Documentation Index
Fetch the complete documentation index at: https://ngrok.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
What you’ll need
- An ngrok API key.
- An active Cloud Endpoint.
1. Configure your API key
If this is your first time using the ngrok API, add your API key to your config file:2. Get the ID of the endpoint you want to modify
Next you’ll need your endpoint’s ID. To see a complete list of your endpoints, run:ep_.
You can also find your endpoint ID in the Endpoints section of the dashboard.
3. Update the endpoint with the new domain
Run the following command to change your Cloud Endpoint’s URL, replacing$YOUR_ENDPOINT_ID and $YOUR_DOMAIN with their respective values from the previous steps: