To update the configuration of your environment, you can use PUT /environments/{environmentId} to modify the attributes of the specified environment. The sample shows a SANDBOX environment resource type is changed to PRODUCTION.