Skip to content

Delete Policy Template

verifiedpermissions_delete_policy_template R Documentation

Deletes the specified policy template from the policy store

Description

Deletes the specified policy template from the policy store.

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.

Usage

verifiedpermissions_delete_policy_template(policyStoreId,
  policyTemplateId)

Arguments

policyStoreId

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

policyTemplateId

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

Value

An empty list.

Request syntax

svc$delete_policy_template(
  policyStoreId = "string",
  policyTemplateId = "string"
)