Cancel a running instance
POST /v1/workflows/:id/instances/:instanceId/cancel — Cancel a running execution. The cancellation reason is logged.
POST /v1/workflows/:id/instances/:instanceId/cancel
Cancel a running execution. The cancellation reason is logged.
| Method | POST |
| Path | /v1/workflows/:id/instances/:instanceId/cancel |
| Auth | Authorization: Bearer <token> required when GATEWAY_AUTH_TOKEN is set |
| Category | workflows |
Request body
{ "reason": "operator cancelled" }