HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/awscli/examples/workmail/delete-access-control-rule.rst
**To delete an access control rule**

The following ``delete-access-control-rule`` example deletes the specified access control rule from the specified Amazon WorkMail organization. ::

    aws workmail delete-access-control-rule \
        --organization-id m-n1pq2345678r901st2u3vx45x6789yza \
        --name "myRule"

This command produces no output.

For more information, see `Working with Access Control Rules <https://docs.aws.amazon.com/workmail/latest/adminguide/access-rules.html>`__ in the *Amazon WorkMail Administrator Guide*.