RemoveVirtualNetwork

You can use the RemoveVirtualNetwork method to remove a previously added virtual network.

Note: This method requires either the virtualNetworkID or the virtualNetworkTag as a parameter, but not both.

Parameters

This method has the following input parameters:

Name Description Type Default value Required
virtualNetworkID Network ID that identifies the virtual network to remove. integer None Yes
virtualNetworkTag Network tag that identifies the virtual network to remove. integer None Yes

Return values

This method has no return values.

Request example

Requests for this method are similar to the following example:

{
  "method": "RemoveVirtualNetwork",
  "params": {
     "virtualNetworkID": 5
    }
}

Response example

This method returns a response similar to the following example:

{
   "id": 1,
   "result": {}
}