Lesstep
GitHub · pull requests · Checked November 22, 2026

How to take back an approval on a GitHub pull request

GitHub has no button that deletes a submitted approval: its REST documentation says "Submitted reviews cannot be deleted." What you can do is dismiss the review (an administrator or someone with write access, with a reason that goes into the conversation), submit a new review that replaces your decision, or, if you have not pressed Submit review yet, discard the pending review. A new commit can also dismiss it by itself when the branch dismisses stale approvals.

Which way fits

Pull Request Inbox for GitHub, a plugin for JetBrains IDEs, shows each reviewer's latest decision on a pull request, marks an approval made at an earlier commit, and with Pro lets you approve or request changes from the IDE.

Before you submit: discard a pending review

From GitHub's pull request review pages: line comments you add before submitting are pending and visible only to you. To cancel the pending review and its comments, click Review changes, then Submit review, then Discard review (see how to approve a pull request). Through the API, GitHub's delete a pending review works only for a review that has not been submitted:

gh api --method DELETE repos/<owner>/<repo>/pulls/<number>/reviews/<review_id>

After you submit: dismiss the review

From GitHub's dismissing a pull request review:

  1. Open the pull request and the Conversation tab.
  2. Click the chevron next to the summary of reviews.
  3. Next to the review, open the options menu and click Dismiss review.
  4. Type the reason and click Dismiss review.

The reason is required and is added to the conversation. Dismissing changes the status of the review to a review comment: it stays on the pull request, no longer as an approval. GitHub's page names repository administrators and people with write access as the ones who can dismiss a review. It does not describe a separate way for a reviewer to withdraw their own approval.

With the GitHub CLI or the API

Find the review's ID and its state first:

gh api repos/<owner>/<repo>/pulls/<number>/reviews --paginate \
  --jq '.[] | select(.state == "APPROVED") | {id, user: .user.login, commit_id}'

Then dismiss it. From GitHub's dismiss a review for a pull request, message is required and event can be DISMISS:

gh api --method PUT repos/<owner>/<repo>/pulls/<number>/reviews/<review_id>/dismissals \
  -f message='Approved by mistake' -f event=DISMISS

It answers 200, or 404 or 422. The token needs the Pull requests repository permission with write access (more in token permissions for pull requests). In GraphQL the mutation is dismissPullRequestReview, with the review's pullRequestReviewId and a message.

Replace your decision with a new review

GitHub's GraphQL latestOpinionatedReviews is "a list of latest reviews per user": GitHub looks at each person's latest review. To go from approving to blocking, submit a review with Request changes and a comment saying what to change:

gh pr review <number> --request-changes -b "Please do not merge yet: ..."

Going the other way is the same: a new Approve replaces an earlier Request changes. With a rule that requires reviews, a request for changes from a collaborator with write access or more holds the merge until the same person approves or someone with write access dismisses it (see changes requested).

Who may dismiss

After the approval is gone

If the pull request needs approvals to merge, it needs a new one: GitHub describes the DISMISS action as dismissing the review "so it now longer effects merging" (its typo, in the PullRequestReviewEvent enum of the GraphQL reference). GraphQL's ReviewDismissedEvent in the timeline records who dismissed the review, the reason and the earlier state.

In the IDE

Pull Request Inbox for GitHub, a plugin by Lesstep for JetBrains IDEs 2024.1 or later, shows each reviewer's latest approval or request for changes, with "on an earlier commit" next to a decision made before the latest push. A dismissed review decides nothing there. Its review menu offers Approve and Request changes, and no Dismiss: GitHub has no call that takes your own review back, only one to dismiss a review for those who may, so the plugin lets you replace your decision with the other review and leaves dismissing to GitHub. The review inbox, diffs, conversations and merge checks are free. Approving or requesting changes, commenting, replying, resolving and merging in the IDE are Pro (US$1.50 a month, with a 30-day trial).

Get it on JetBrains Marketplace

GitHub is a trademark of GitHub, Inc.; IntelliJ IDEA is a trademark of JetBrains s.r.o. This page is not affiliated with or endorsed by GitHub, Inc. or JetBrains.

More: How to approve a pull request · Changes requested and dismissing a review · Review required, approvals that do not count · The merge-base changed after approval · Review refused · Token permissions for pull requests · 日本語