[{"label":"Latest (v1.1)","version":"latest"}]
vmc
Update Tasks
DescriptionRequest that a running task be canceled. This is advisory only, some tasks may not be cancelable, and some tasks might take an arbitrary amount of time to respond to a cancelation request. The task must be monitored to determine subsequent status.
Request
URLURL
https://vmc.vmware.com/vmc/api/orgs/{org}/tasks/{task}
Path Parameters
Path Parameters
string
org
Required
Organization identifier
string
task
Required
Task identifier
Query Parameters
Query Parameters
string
action
Optional
If = ‘cancel’, task will be canceled
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
Task
of type(s) application/json
This response body class contains all of the following:
AbstractEntity, InlineTask1
Errors
ErrorResponse
400
Invalid action or bad argument
401
Unauthorized
403
Forbidden
ErrorResponse
404
Cannot find the task with given identifier
Code Samples
cURL Command
curl -X POST https://vmc.vmware.com/vmc/api/orgs/{org}/tasks/{task}
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-vmc-ui-servicename: tasks
x-vmw-vapi-methodname: update
[{"label":"Latest (v1.1)","version":"latest"}]
vmc