| Server IP : 3.111.61.48 / Your IP : 216.73.216.7 Web Server : Apache System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.2.31 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/doc/awscli/examples/codecommit/ |
Upload File : |
**To delete an approval rule for a pull request**
The following ``delete-pull-request-approval-rule`` example deletes the approval rule named ``My Approval Rule`` for the specified pull request. ::
aws codecommit delete-pull-request-approval-rule \
--approval-rule-name "My Approval Rule" \
--pull-request-id 15
Output::
{
"approvalRuleId": "077d8e8a8-EXAMPLE"
}
For more information, see `Edit or Delete an Approval Rule <https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-edit-delete-pull-request-approval-rule.html#delete-pull-request-approval-rule>`__ in the *AWS CodeCommit User Guide*.