Spaces method and path for this operation:
post /s/{space_id}/api/workflows/executions/{executionId}/cancel
Refer to Spaces for more information.
Cancel a running workflow execution by its ID.
[Required authorization] Route required privileges: workflowsManagement:cancelExecution.
POST
/api/workflows/executions/{executionId}/cancel
curl
curl \
-X POST "${KIBANA_URL}/api/workflows/executions/{executionId}/cancel" \
-H "Authorization: ApiKey ${API_KEY}" \
-H "kbn-xsrf: true"
POST kbn://api/workflows/executions/{executionId}/cancel