:doc:`NovaActService <../../nova-act>` / Client / delete_workflow_run

*******************
delete_workflow_run
*******************



.. py:method:: NovaActService.Client.delete_workflow_run(**kwargs)

  

  Terminates and cleans up a workflow run, stopping all associated acts and sessions.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/nova-act-2025-08-22/DeleteWorkflowRun>`_  


  **Request Syntax**
  ::

    response = client.delete_workflow_run(
        workflowDefinitionName='string',
        workflowRunId='string'
    )
    
  :type workflowDefinitionName: string
  :param workflowDefinitionName: **[REQUIRED]** 

    The name of the workflow definition containing the workflow run.

    

  
  :type workflowRunId: string
  :param workflowRunId: **[REQUIRED]** 

    The unique identifier of the workflow run to delete.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'status': 'RUNNING'|'SUCCEEDED'|'FAILED'|'TIMED_OUT'|'DELETING'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **status** *(string) --* 

        The status of the workflow run after deletion request.

        
  
  **Exceptions**
  
  *   :py:class:`NovaActService.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`NovaActService.Client.exceptions.ConflictException`

  
  *   :py:class:`NovaActService.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`NovaActService.Client.exceptions.ThrottlingException`

  
  *   :py:class:`NovaActService.Client.exceptions.InternalServerException`

  
  *   :py:class:`NovaActService.Client.exceptions.ValidationException`

  