[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director

Delete External Network

Description

Deletes a specific external network.

Request

Request

URL

URL


delete
https://{api_host}/cloudapi/1.0.0/externalNetworks/{externalNetworkId}
Copy

Path Parameters

Path Parameters

string
externalNetworkId Required

Query Parameters

Query Parameters

boolean
force Optional

Value “true” means to forcefully delete the object that contains other objects even if those objects are in a state that does not allow removal. The default is “false”; therefore, objects are not removed if they are not in a state that normally allows removal. Force also implies recursive delete where other contained objects are removed. Errors may be ignored. Invalid value (not true or false) are ignored.


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

202 Accepted

The request have been accepted and the task to monitor the request is in the Location header.

Errors

Errors

Error
404

The specified resource was not found

Code Samples

Code Samples

cURL Command

curl -X DELETE https://{api_host}/cloudapi/1.0.0/externalNetworks/{externalNetworkId}


[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Feedback

Was this page helpful?