VMware, Inc. 99
Chapter 6 Administrative Operations
Remove an Organization
AnorganizationadministratorcanusetheremovelinkinanAdminOrgbodytoremovetheorganizationfrom
thevCloud.Example 6‐8doesthis,makingaDELETErequesttotheremovelinkreturnedinExample 6‐4.
Example 6-8. Remove an Organization
Request:
DELETE http://vcloud.example.com/api/v1.0/admin/org/26
Response:
204 No Content
Network Administration
Anewlycreatedorganizationhasnonetworksinit.Anorganizationadministratormustcreatean
organizationnetworkfromresourcesprovidedbyoneoftheexternalnetworkslistedintheNetworkselement
oftheVCloudresponse(seeExample 6‐2onpage 94).
View the Properties of an External Network
Tocreateanorganizationnetwork,andorganizationadministratormustchooseaparentnetworkfromoneof
thenetworksgroupedintheNetworkselementofthecloud.Togetmoreinformationaboutanyofthese
networks,anadministratorcanmakeaGETrequesttothenetwork’sURL(thehrefelementofthe
Network
element).Example 6‐9makessucharequesttothehrefofaNetworkelementreturnedinExample 6‐2on
page 94.TheresponseisanExternalNetworkelementthatshowstheConfigurationandotherproperties
ofthenetwork,includingaProviderInfoelementthatspecifiesdetailsoftheunderlyingvSpherenetwork.
The
ExternalNetworkelementisread‐only.
Example 6-9. View the Properties of an External Network
Request:
GET http://vcloud.example.com/api/v1.0/admin/network/7
Response:
200 OK
Content-Type:pplication/vnd.vmware.admin.network+xm
...
<ExternalNetwork xmlns="http://www.vmware.com/vcloud/v1"
href="http://vcloud.example.com/api/v1.0/admin/network/7"
name="ExternalNetwork-VC1" ...>
<Description>VLAN 7</Description>
<Configuration>
...
</Configuration>
<ProviderInfo>
NETWORK:dvportgroup-1587 on com.vmware.vcloud.entity.vimserver:1043863313
</ProviderInfo>
</ExternalNetwork>
NOTEBeforeyoucanremoveanorganization,youmustdisableitanddeleteorchangeownershipofall
objectsthattheorganizationusersown.