An administrator can use links in a Vdc element to enable, disable, or remove an organization VDC.

Verify that you are logged in to the vCloud API as an organization administrator.

Retrieve the VDC that you want to enable, disable, or remove. If you don't know the URL of the VDC, you can use a query like this one to retrieve a list of references all VDCs in your organization.


To enable a VDC, POST a request to its action/enable link.

To disable a VDC, POST a request to its action/disable link.

When you disable an organization VDC, you prevent further use of its compute and storage resources. Running vApps and powered on virtual machines continue to run, but you cannot create or start additional vApps or virtual machines.

To remove a VDC, remove all the objects it contains, then disable and remove it.


Relocate or remove any vApps that have been deployed in the VDC.


Remove any organization VDC networks that the VDC contains.


Remove any Edge Gateways that the VDC contains.


Disable the VDC by making POST a request to its action/disable link.

After the VDC is disabled, its representation includes a rel="remove" link if it no longer contains any objects.


Make a DELETE request to the VDC's rel="remove" link.


You can make a request like this one, which adds the query string recursive=true to the VDC href, to remove a VDC that contains one or more objects as long as those objects are in a state that normally allows removal.


You can use an additional query parameter to force this kind of recursive removal even when the VDC contains objects that are not in an appropriate state.


The server takes the requested action and returns an HTTP status of 204 No Content.