HEX
Server: LiteSpeed
System: Linux s1080.usc1.mysecurecloudhost.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
User: justofft (2594)
PHP: 7.3.33
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/awscli/examples/fms/delete-policy.rst
**To delete a Firewall Manager policy**

The following ``delete-policy`` example removes the policy with the specified ID, along with all of its resources. ::

    aws fms delete-policy \
        --policy-id a1b2c3d4-5678-90ab-cdef-EXAMPLE11111 \
        --delete-all-policy-resources

This command produces no output.

For more information, see `Working with AWS Firewall Manager Policies <https://docs.aws.amazon.com/waf/latest/developerguide/working-with-policies.html>`__ in the *AWS WAF, AWS Firewall Manager, and AWS Shield Advanced Developer Guide*.