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

Method: organizations.environments.targetservers.delete

Deletes a TargetServer from an environment. Returns the deleted TargetServer resource.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the TargetServer to delete. Must be of the form organizations/{org}/environments/{env}/targetservers/{targetServerId}.

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

  • apigee.targetservers.delete

Request body

The request body must be empty.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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