VMware Cloud Director API - POST-AbortTask

VMware Cloud Director API - POST-AbortTask

POST /admin/extension/blockingTask/{id}/action/abort

Operation:
POST /admin/extension/blockingTask/{id}/action/abort
Description:
Abort a blocking task.

This request ends the task, cleaning up any transient objects that it created. Task status is set to ABORTED.

Since:
1.5
Input parameters
{@link JAXBElement } represents message to this operation.

Consume media type(s):
application/vnd.vmware.admin.blockingTaskOperationParams+xml
application/vnd.vmware.admin.blockingTaskOperationParams+json
Input type:
BlockingTaskOperationParamsType
Output parameters
Produce media type(s):
None
Output type:
None
Examples
Request
HTTP 1.1
POST /api/admin/extension/blockingTask/c1997d6b-2f43-4df9-9bc5-6e35e277cc3c/action/abort

Headers:
Content-Length: 219
Content-Type: application/vnd.vmware.admin.blockingTaskOperationParams+xml; charset=ISO-8859-1
x-vcloud-authorization: M69zc2o7Ol7AuYVBAslGYbnTluZZVZKIYa1HPe8MzEk=

Body:
<?xml version="1.0" encoding="UTF-8"?><vmext:BlockingTaskOperationParams
    xmlns:vmext="http://www.vmware.com/vcloud/extension/v1.5">
    <vmext:Message>abort message</vmext:Message>
</vmext:BlockingTaskOperationParams>
Response
HTTP/1.1 204 No Content

Headers:
Content-Type: application/*+xml;version=5.5
Vary: Accept-Encoding

Body: