CancelActionExecution Method

Description

Cancels a running action execution. The action will stop and execute any cancelling logic.

HTTP Request

PUT https://api.skeddly.com/api/ActionExecutions/<id>/Cancel

URL Parameters

id

The ID of the action execution to cancel.

Type: string

Required: Yes

Returns

An ActionExecution object.

Sample Request

PUT /api/ActionExecutions/ae-00000001/Cancel HTTP/1.1
Host: api.skeddly.com
Authorization: AccessKey <api key>

Sample Response

{
    "actionExecutionId": "ae-00000001",
    "status": "cancelling",
    "startDate": "2016-06-01T12:00:00Z",
    "trigger": "schedule",
    "actionId": "a-00000001",
    "actionVersionId": "av-00000001",
    "actionType": "amazon-start-ec2-instance",
    "actionName": "Start My Instances",
    "timeZoneId": "UTC",
    "credentialId": "cred-00000001"
}

Last updated