scheduled state can be cancelled. A window’s stop follows its command and cannot be cancelled separately.
Cancel by ID
202 with the cancelled action. It won’t run, and no webhook is sent for it. If it was windowed, nothing happens at its end.
What can be cancelled
These states apply to commands. Stop action IDs are not accepted by this route.
Anything other than
scheduled returns 409 ACTION_NOT_CANCELLABLE.
idle, with onConflict: "cancel_and_replace". A running window is stopped first. See Replace a running window.
Cancel and replace in one request
If you’re cancelling to send something else, push the new action withonConflict: "cancel_and_replace". This cancels every conflicting scheduled action and accepts the new one in one request, so none of them can start in between. See Conflicts.
Find actions to cancel
command: "stop"). Offer cancellation for scheduled commands only.
Next steps
Conflicts
Replace or queue behind an active action.
Push
Action states and how to track them.