VMware Cloud Director API - DELETE-NetworkPool

VMware Cloud Director API - DELETE-NetworkPool

DELETE /admin/extension/networkPool/{id}

Operation:
DELETE /admin/extension/networkPool/{id}
Description:
Delete a network pool.
Since:
0.9
Deprecated:
35.0
Input parameters
Consume media type(s):
None
Input type:
None
Output parameters
TaskType

This operation is asynchronous and returns a task that you can monitor to track the progress of the request.

Produce media type(s):
application/vnd.vmware.vcloud.task+xml
application/vnd.vmware.vcloud.task+json
Output type:
TaskType
Examples
Request
HTTP 1.1
DELETE /api/admin/extension/networkPool/7a037b2b-bac9-412e-9989-f44cb2bf5125

Headers:
x-vcloud-authorization: X600Twh81GezzqBm3B3GXTe8r9U8+U5kIrA3X4H2ctE=

Body:
Response
HTTP/1.1 202 Accepted

Headers:
Content-Length: 1400
Content-Type: application/vnd.vmware.vcloud.task+xml;version=5.1
Location: https://vcloud.example.com/api/task/960496d3-5f9c-40c9-9703-b3142b38c9da
Vary: Accept-Encoding

Body:
<?xml version="1.0" encoding="UTF-8"?><Task
    xmlns="http://www.vmware.com/vcloud/v1.5"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    cancelRequested="false"
    expiryTime="2013-05-13T16:57:26.908+03:00"
    href="https://vcloud.example.com/api/task/960496d3-5f9c-40c9-9703-b3142b38c9da"
    id="urn:vcloud:task:960496d3-5f9c-40c9-9703-b3142b38c9da"
    name="task"
    operation="Deleting Network Pool Portgroup-backed-net-pool(7a037b2b-bac9-412e-9989-f44cb2bf5125)"
    operationName="networkDeleteNetworkPool"
    serviceNamespace="com.vmware.vcloud"
    startTime="2013-02-12T16:57:26.908+02:00"
    status="running"
    type="application/vnd.vmware.vcloud.task+xml"
    xsi:schemaLocation="http://www.vmware.com/vcloud/v1.5 http://https://vcloud.example.com/api/v1.5/schema/master.xsd">
    <Link
        href="https://vcloud.example.com/api/task/960496d3-5f9c-40c9-9703-b3142b38c9da/action/cancel"
        rel="task:cancel"/>
    <Owner
        href="https://vcloud.example.com/api/admin/extension/networkPool/7a037b2b-bac9-412e-9989-f44cb2bf5125"
        name="Portgroup-backed-net-pool"
        type="application/vnd.vmware.admin.networkPool+xml"/>
    <User
        href="https://vcloud.example.com/api/admin/user/1260efee-6915-494c-8afa-84e7e6d8a310"
        name="vcloud"
        type="application/vnd.vmware.admin.user+xml"/>
    <Organization
        href="https://vcloud.example.com/api/org/a93c9db9-7471-3192-8d09-a8f7eeda85f9"
        name="System"
        type="application/vnd.vmware.vcloud.org+xml"/>
    <Details/>
</Task>