VerifiedPermissions / Client / delete_policy_template

delete_policy_template#

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

Request Syntax

response = client.delete_policy_template(
    policyStoreId='string',
    policyTemplateId='string'
)
Parameters:
  • policyStoreId (string) –

    [REQUIRED]

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

  • policyTemplateId (string) –

    [REQUIRED]

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

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions