Delete Organization Network operation
The Delete Organization Network operation enables you to delete an organization network. Only the vCloud system administrator can perform this operation.
The following figure shows a sample <items> XML element for the Delete Organization Network operation:
Sample <items> XML element for the Delete Organization Network operation
<item>
<parameters>
<network-id></network-id>
</parameters>
</item>
</items>
The following table describes the elements for this adapter request:
Adapter request elements for the Delete Organization Network operation
Element | Definition | Required |
---|---|---|
<operation-name> | Defines the type of operation: Delete_Organization_Network | Yes |
<vcloud-organization> | Specifies the name of the vCloud organization | Conditional:
|
<user-name> | Specifies the user name required for basic HTTP authentication on vCloud | Conditional:
|
<password> | Contains the password corresponding to the specified user name | Conditional:
|
<parameters> | Contains the elements for the operation | Yes |
<network-id> | Specifies the ID of the network that you want to delete | Yes |
The following figure shows the sample adapter request for the Delete Organization Network operation:
Sample adapter request for the Delete Organization Network operation
<operation-name>Delete_Organization_Network</operation-name>
<vcloud-organization>TestOrg</vcloud-organization>
<user-name>TestUser</user-name>
<password>Password</password>
<parameters>
<network-id>1663455563</network-id>
</parameters>
</vmware-vcloud-request>
The following figure shows the response for the sample request:
Sample adapter response for the Delete Organization Network operation
<metadata>
<status>success</status>
</metadata>
<status-line>
<code>202</code>
<reason>Accepted</reason>
</status-line>
<message-body>
<Task
status = "running"
startTime = "2011-01-27T19:56:08.014+05:30"
operation = "Deleting Network (1663455563)"
expiryTime = "2011-04-27T19:56:08.014+05:30"
endTime = "9999-12-31T23:59:59.999+05:30"
type = "application/vnd.vmware.vcloud.task+xml"
href = "https://10.128.248.112/api/v1.0/task/2fhmqbake97b6asrtvy">
<Owner
type = "application/vnd.vmware.admin.network+xml"
name = ""
href = "https://10.128.248.112/api/v1.0/admin/network/1663455563"/>
</Task>
</message-body>
</vmware-vcloud-response>