CmdID / aws / aws verifiedpermissions
aws verifiedpermissions delete-policy
Deletes the specified policy from the policy store. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To delete a static or template-linked policy
The following delete-policy example deletes the policy that has the specified Id.
aws verifiedpermissions delete-policy --policy-id SPEXAMPLEabcdefg111111 --policy-store-id PSEXAMPLEabcdefg111111Identify--policy-idSpecifies the ID of the policy that you want to delete.--policy-store-idSpecifies the ID of the policy store that contains the policy that you want to delete.This command produces no output.
For more information about policies, see Amazon Verified Permissions policies in the Amazon Verified Permissions User Guide.
Options
--policy-idSpecifies the ID of the policy that you want to delete.--policy-store-idSpecifies the ID of the policy store that contains the policy that you want to delete.