You can always edit an existing environment of your stack.
To edit an environment, log in to your Contentstack account, navigate to your stack and perform the following steps:
- Click the “Settings” icon (press “S”) on the left navigation panel and select Environments (or press “alt + E” for Windows OS, and “option + E” for Mac OS).
- Hover over the environment whose details you want to edit and click on the “Edit” icon
- The Update Environment box appears where you can update the fields, such as Name, Base URL, Language, and the Advanced settings of the environment.
- Click the Add button to save the changes.
To perform the edit action via API request, refer to the Update Environment API request.