:doc:`PcaConnectorAd <../../pca-connector-ad>` / Client / delete_template

***************
delete_template
***************



.. py:method:: PcaConnectorAd.Client.delete_template(**kwargs)

  

  Deletes a template. Certificates issued using the template are still valid until they are revoked or expired.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/pca-connector-ad-2018-05-10/DeleteTemplate>`_  


  **Request Syntax**
  ::

    response = client.delete_template(
        TemplateArn='string'
    )
    
  :type TemplateArn: string
  :param TemplateArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) that was returned when you called `CreateTemplate <https://docs.aws.amazon.com/pca-connector-ad/latest/APIReference/API_CreateTemplate.html>`__.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`PcaConnectorAd.Client.exceptions.AccessDeniedException`

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

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

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

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

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

  