> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gu1.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Cancel execution (standby)

> Cancel a paused automation execution in gu1 by execution ID, automation ID, or signed callback link to stop a waiting workflow from resuming.

## 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 with token (link)

```
GET https://api.gu1.ai/automations/executions/:executionId/cancel?token=<callbackToken>
```

Returns HTML (“You have cancelled.”).

## Response

**200** — `{ "success": true, "cancelled": true, ... }`
