:doc:`CustomerProfiles <../../customer-profiles>` / Client / delete_workflow

***************
delete_workflow
***************



.. py:method:: CustomerProfiles.Client.delete_workflow(**kwargs)

  

  Deletes the specified workflow and all its corresponding resources. This is an async process.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DeleteWorkflow>`_  


  **Request Syntax**
  ::

    response = client.delete_workflow(
        DomainName='string',
        WorkflowId='string'
    )
    
  :type DomainName: string
  :param DomainName: **[REQUIRED]** 

    The unique name of the domain.

    

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

    Unique identifier for the workflow.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`CustomerProfiles.Client.exceptions.BadRequestException`

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

  
  *   :py:class:`CustomerProfiles.Client.exceptions.AccessDeniedException`

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

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

  