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