Method: organizations.environments.keyvaluemaps.update

Update the key value map scoped to an organization, environment, or API proxy.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Scope as indicated by the URI in which to fetch the key value map. Use one of the following structures in your request:

  • organizations/{organization}/apis/{api}/keyvaluemaps/{keyvaluemap}.
  • organizations/{organization}/environments/{environment}/keyvaluemaps/{keyvaluemap}
  • organizations/{organization}/keyvaluemaps/{keyvaluemap}.

If the KeyValueMap is under an API Proxy resource that has the space attribute set, IAM permissions are checked against the Space resource path. To learn more, read the Apigee Spaces Overview.

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

  • apigee.keyvaluemaps.update

Request body

The request body contains an instance of KeyValueMap.

Response body

If successful, the response body contains an instance of KeyValueMap.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform