[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director

Cancel Workflow Execution

Description

Cancels a workflow run

Request

Request

URL

URL


delete
https://{api_host}/cloudapi/workflows/{workflowId}/executions/{executionId}/state
Copy

Path Parameters

Path Parameters

string
workflowId Required

workflowId


string
executionId Required

executionId


Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

204 No Content

No content. Workflow execution has been cancelled

Errors

Errors

400

The request is invalid(validation error)


401

The user is not authorized


403

Forbidden


404

Can not find a workflow with the specified ID or the user does not have ‘read’ access rights for that workflow

Code Samples

Code Samples

cURL Command

curl -X DELETE https://{api_host}/cloudapi/workflows/{workflowId}/executions/{executionId}/state


[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Feedback

Was this page helpful?