## CancelWorkflowExecutionAction `automations.cancel_execution_action(AutomationCancelExecutionActionParams**kwargs) -> object` **post** `/gitpod.v1.WorkflowService/CancelWorkflowExecutionAction` Cancels a running workflow execution action. Use this method to: - Stop long-running actions - Cancel failed actions - Manage resource usage ### Examples - Cancel execution action: Stops a running workflow execution action. ```yaml workflowExecutionActionId: "a1b2c3d4-5e6f-7890-abcd-ef1234567890" ``` ### Parameters - `workflow_execution_action_id: Optional[str]` ### Returns - `object` ### Example ```python import os from gitpod import Gitpod client = Gitpod( bearer_token=os.environ.get("GITPOD_API_KEY"), # This is the default and can be omitted ) response = client.automations.cancel_execution_action( workflow_execution_action_id="a1b2c3d4-5e6f-7890-abcd-ef1234567890", ) print(response) ``` #### Response ```json {} ```