Skip to main content
POST
/
automations
/
executions
/
{executionId}
/
cancel
Cancel execution (standby)
curl --request POST \
  --url http://api.gu1.ai/automations/executions/{executionId}/cancel \
  --header 'Authorization: Bearer <token>'

POST by execution ID

POST https://api.gu1.ai/automations/executions/:executionId/cancel
Authenticated.

POST by automation ID

POST https://api.gu1.ai/automations/:id/cancel
Cancels the most recent waiting execution for that automation.
GET https://api.gu1.ai/automations/executions/:executionId/cancel?token=<callbackToken>
Returns HTML (“You have cancelled.”).

Response

200{ "success": true, "cancelled": true, ... }