[{"label":"Latest (v1.1)","version":"latest"}]
vmc

Update Tasks

Description

Request 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

Request

URL

URL


post
https://vmc.vmware.com/vmc/api/orgs/{org}/tasks/{task}
Copy

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

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns Task of type(s) application/json
This response body class contains all of the following: AbstractEntity, InlineTask1
Errors

Errors

400

Invalid action or bad argument


401

Unauthorized


403

Forbidden


404

Cannot find the task with given identifier

Code Samples

Code Samples

cURL Command

curl -X POST https://vmc.vmware.com/vmc/api/orgs/{org}/tasks/{task}
Vendor Extensions

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
Feedback

Was this page helpful?