Method: services.connections.deleteConnection

Deletes a private service access connection.

HTTP request

POST https://servicenetworking.googleapis.com/v1/{name=services/*/connections/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The private service connection that connects to a service producer organization. The name includes both the private service name and the VPC network peering name in the format of services/{peering_service_name}/connections/{vpc_peering_name}. For Google services that support this functionality, this is services/servicenetworking.googleapis.com/connections/servicenetworking-googleapis-com.

Request body

The request body contains data with the following structure:

JSON representation
{
  "consumerNetwork": string
}
Fields
consumerNetwork

string

Required. The network that the consumer is using to connect with services. Must be in the form of projects/{project}/global/networks/{network} {project} is a project number, as in '12345' {network} is a network name.

Response body

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

Authorization Scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.