← API reference
Mutation / workflows

cancelExecution

Cancel a running workflow execution. Requires workflow:execute permission.

Arguments

Execution ID to cancel

Returns CancelExecutionPayload!

Explore in a view

Workflow Authoring
View exact SDL
"""
Cancel a running workflow execution. Requires workflow:execute permission.
"""
cancelExecution(
  """Execution ID to cancel"""
  id: WorkflowExecutionID!
): CancelExecutionPayload! @topic(names: ["workflows"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.