CmdID

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

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

2 in the AWS CLI reference
--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.