VMware Cloud Director API - DELETE-StrandedItem
DELETE /admin/extension/strandedItem/{id}
- Operation:
- DELETE /admin/extension/strandedItem/{id}
- Description:
- Removes stranded item.
- Since:
- 5.1
- Input parameters
-
- Consume media type(s):
- None
- Input type:
- None
- Output parameters
-
Task created to remove the stranded item
- 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/strandedItem/bbfe58d1-3e44-4625-af5d-008329252f68
Headers:
x-vcloud-authorization: 65hG8hSEDXrBtkMq9ny9xR6ZHu4ElXF6CyvYMZNS73k=
Body:
- Response
-
HTTP/1.1 202 Accepted
Headers:
Content-Length: 1378
Content-Type: application/vnd.vmware.vcloud.task+xml;version=5.5
Location: https://vcloud.example.com/api/task/004dd02c-0b63-4d78-a26a-26b180cb5671
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-15T13:24:10.803+03:00"
href="https://vcloud.example.com/api/task/004dd02c-0b63-4d78-a26a-26b180cb5671"
id="urn:vcloud:task:004dd02c-0b63-4d78-a26a-26b180cb5671"
name="task"
operation="Purging Stranded Item (bbfe58d1-3e44-4625-af5d-008329252f68)"
operationName="systemPurgeStrandedItem"
serviceNamespace="com.vmware.vcloud"
startTime="2013-02-14T13:24:10.803+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/004dd02c-0b63-4d78-a26a-26b180cb5671/action/cancel"
rel="task:cancel"/>
<Owner
href="https://vcloud.example.com/api/admin/extension/strandedItem/bbfe58d1-3e44-4625-af5d-008329252f68"
name=""
type="application/vnd.vmware.admin.strandedItem+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"/>
<Progress>1</Progress>
<Details/>
</Task>