When updating properties, you must pass all existing properties to the API, even if they are not being changed. If you omit properties from the payload, the properties are removed. To get the current list of properties for the environment, use the Get Environment API.
Note: Both PUT and POST methods are supported for updating an existing environment.
HTTP request
POST https://apigee.googleapis.com/v1/{name=organizations/*/environments/*}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-04 UTC."],[[["This API updates an existing environment, requiring all current properties to be included in the update request, even if they are unchanged."],["Both `PUT` and `POST` methods can be used to update an existing environment via the provided endpoint."],["The request URL uses gRPC Transcoding syntax and requires a specific path structure for the environment `name`, which is organizations/{org}/environments/{env}."],["The request and response bodies use the \"Environment\" resource, detailing the required properties and successful response data."],["Updating an environment through this API requires `apigee.environments.update` IAM permissions and `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]