Updates an existing environment.
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/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. Name of the environment. Use the following structure in your request: Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains an instance of Environment
.
Response body
If successful, the response body contains an instance of Environment
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform