A user removes an approval from a pull request for a repository. This payload comes with an event key of pr:reviewer:unapproved.

interface PRReviewerUnapproved {
    actor: pr.reviewerUnapproved.Actor;
    date: string;
    eventKey: "pr:reviewer:unapproved";
    participant: pr.reviewerUnapproved.Participant;
    previousStatus: string;
    pullRequest: pr.reviewerUnapproved.PullRequest;
}

Properties

The user which removed the approval.

date: string
eventKey: "pr:reviewer:unapproved"

Details of the PR participant status of the user making the change

previousStatus: string

The state of the approval before this change

Details of the pull request unapproved.