Stop an execution
Authentication
Path parameters
Response
204 No Content
Stopped. The execution closes as ABORTED with CLIENT_CANCELLED. No body.
204 No Content
Stopped. The execution closes as ABORTED with CLIENT_CANCELLED. No body.
Stop an execution that is still running.
Use it when your own process no longer needs the answer — your customer abandoned the journey, the case was closed, a timeout of yours fired. The execution closes as ABORTED with CLIENT_CANCELLED, which reads as a cancellation and not as a failure anywhere you look at it later.
Whatever was already retrieved stays readable until you delete the execution. Aborting also frees the slot immediately, which clears the 409 that blocks a new execution for the same customer and engine.
A paused execution is a good candidate. One waiting on a challenge your customer will never answer holds nothing useful: abort it rather than letting it reach ACTION_TIMEOUT on its own.
Server to server only. This call is authorised with your application secret: it belongs in your backend, never in a browser, a mobile app or anything your customer can read.