Cancels a running workflow.
Debugging
Request syntax
PUT /gs/workflow/workflowName HTTP/1.1
Content-Type:application/json
{
"action" : "String"
}
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
workflowName | String | Yes | mapping-gpu-mhhgh |
The name of the workflow that you want to cancel. |
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
action | String | Yes | cancel |
The operation that you want to perform. Valid value: cancel. |
Response syntax
HTTP/1.1 200 OK
Response parameters
None
Examples
PUT /gs/workflow/mapping-gpu-mhhgh HTTP/1.1
Host:cs.aliyuncs.com
Content-Type:application/json
{
"action" : "cancel"
}
Sample success responses
JSON
format
HTTP/1.1 200 OK
Error codes
For a list of error codes, visit the API Error Center.