Skip to main content
Cancel an action that hasn’t started yet. Only actions in scheduled state can be cancelled.

Cancel by ID

The API returns 202 with the cancelled action. It won’t run, and no webhook is sent for it. If it was windowed, nothing is reverted at end.

What can be cancelled

Anything other than scheduled returns 409 ACTION_NOT_CANCELLABLE.
To undo a command that has already run, push a new one, such as idle.

Cancel and replace in one request

If you’re cancelling to send something else, push the new action with onConflict: "cancel_and_replace". This cancels the scheduled action and accepts the new one in one request, so the old one can’t start in between. See Conflicts.

Find actions to cancel

Next steps

Conflicts

Replace or queue behind an active action.

Push

Action states and how to track them.