:doc:`CodeCommit <../../codecommit>` / Client / delete_approval_rule_template

*****************************
delete_approval_rule_template
*****************************



.. py:method:: CodeCommit.Client.delete_approval_rule_template(**kwargs)

  

  Deletes a specified approval rule template. Deleting a template does not remove approval rules on pull requests already created with the template.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13/DeleteApprovalRuleTemplate>`_  


  **Request Syntax**
  ::

    response = client.delete_approval_rule_template(
        approvalRuleTemplateName='string'
    )
    
  :type approvalRuleTemplateName: string
  :param approvalRuleTemplateName: **[REQUIRED]** 

    The name of the approval rule template to delete.

    

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

    
    ::

      {
          'approvalRuleTemplateId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **approvalRuleTemplateId** *(string) --* 

        The system-generated ID of the deleted approval rule template. If the template has been previously deleted, the only response is a 200 OK.

        
  
  **Exceptions**
  
  *   :py:class:`CodeCommit.Client.exceptions.ApprovalRuleTemplateNameRequiredException`

  
  *   :py:class:`CodeCommit.Client.exceptions.InvalidApprovalRuleTemplateNameException`

  
  *   :py:class:`CodeCommit.Client.exceptions.ApprovalRuleTemplateInUseException`

  