Cancel Workflow Run
Cancel a running workflow run by its ID. This endpoint allows you to stop a workflow run that is currently in progress.
Note: Only workflow runs with a status of PROCESSING or PENDING can be cancelled. Workflow runs that are completed, failed, in review, rejected, or already cancelled cannot be cancelled.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
The ID of the workflow run to cancel.
Example: "workflow_run_xKm9pNv3qWsY_jL2tR5Dh"
Headers
API version to use for the request. If you do not specify a version, you will either receive a 400 Bad Request or be set to a previous legacy version. See API Versioning for more details.
The workspace ID to target. Required when using an organization-scoped API key; optional for workspace-scoped keys (the key is already tied to a workspace). See Authentication for details on API key scopes.

