v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1477523442.5 KB

Sets aside (overrides) all approval rule requirements for a specified pull request.

post/#X-Amz-Target=CodeCommit_20150413.OverridePullRequestApprovalRules

Headers

X-Amz-Target'CodeCommit_20150413.OverridePullRequestApprovalRules' required

Request body

pullRequestIdstring required

The system-generated ID of the pull request for which you want to override all approval rule requirements. To get this information, use <a>GetPullRequest</a>.

revisionIdstring required

The system-generated ID of the most recent revision of the pull request. You cannot override approval rules for anything but the most recent revision of a pull request. To get the revision ID, use GetPullRequest.

overrideStatus'OVERRIDE' | 'REVOKE' required

Whether you want to set aside approval rule requirements for the pull request (OVERRIDE) or revoke a previous override and apply approval rule requirements (REVOKE). REVOKE status is not stored.

Response

Success