Update an environment

Updates an existing environment. The full environment object must be included in the request body.