To edit an environment, log in to your Contentstack account, and perform the following steps:
- Go to the stack, navigate to the “Settings” gear icon, and select Environments.
- Click on the name of the environment whose details you want to edit.
- 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 Update button to save the changes.
To perform the edit action via API request, refer to the Update Environment API request.