:doc:`VerifiedPermissions <../../verifiedpermissions>` / Client / delete_policy_template

**********************
delete_policy_template
**********************



.. py:method:: VerifiedPermissions.Client.delete_policy_template(**kwargs)

  

  Deletes the specified policy template from the policy store.

   

  .. warning::

     

    This operation also deletes any policies that were created from the specified policy template. Those policies are immediately removed from all future API responses, and are asynchronously deleted from the policy store.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/verifiedpermissions-2021-12-01/DeletePolicyTemplate>`_  


  **Request Syntax**
  ::

    response = client.delete_policy_template(
        policyStoreId='string',
        policyTemplateId='string'
    )
    
  :type policyStoreId: string
  :param policyStoreId: **[REQUIRED]** 

    Specifies the ID of the policy store that contains the policy template that you want to delete.

    

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

    Specifies the ID of the policy template that you want to delete.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`VerifiedPermissions.Client.exceptions.ValidationException`

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

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

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

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

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

  