注意:此产品的某些方面处于 Beta 版阶段。Hybrid 安装选项是 GA。要加入 Beta 版计划,请与您的 Apigee 代表联系。

Method: organizations.environments.update

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.

HTTP request

PUT https://apigee.googleapis.com/v1/{name=organizations/*/environments/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of the environment. Use the following structure in your request: organizations/{org}/environments/{env}

Authorization requires the following IAM permission on the specified resource name:

  • apigee.environments.update

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