Method: customers.policies.networks.removeNetwork

  • Use the POST method to remove a network using the provided URL template.

  • The request requires path parameters including the customer string to identify the target customer.

  • The request body must contain targetResource and networkId strings to specify the resource and the network to remove.

  • A successful response has an empty body.

  • This operation requires the https://www.googleapis.com/auth/chrome.management.policy OAuth scope for authorization.

remove an existing network by guid.

HTTP request

POST https://chromepolicy.googleapis.com/v1/{customer=customers/*}/policies/networks:removeNetwork

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
customer

string

Required. The customer whose network will be removed.

Request body

The request body contains data with the following structure:

JSON representation
{
  "targetResource": string,
  "networkId": string
}
Fields
targetResource

string

Required. The target resource on which this network will be removed. The following resources are supported: * Organizational Unit ("orgunits/{orgunit_id}")

networkId

string

Required. The guid of the network to remove.

Response body

If successful, the response body is empty.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/chrome.management.policy