Dismiss a review for a pull request

PUT {{baseUrl}}/repos/:owner/:repo/pulls/:pull_number/reviews/:review_id/dismissals

Note: To dismiss a pull request review on a protected branch, you must be a repository administrator or be included in the list of people or teams who can dismiss pull request reviews.

Request Body

{"message"=>"<string>", "event"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;id&quot;:80,&quot;node_id&quot;:&quot;MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA=&quot;,&quot;user&quot;:{&quot;login&quot;:&quot;octocat&quot;,&quot;id&quot;:1,&quot;node_id&quot;:&quot;MDQ6VXNlcjE=&quot;,&quot;avatar_url&quot;:&quot;https://github.com/images/error/octocat_happy.gif&quot;,&quot;gravatar_id&quot;:&quot;&quot;,&quot;url&quot;:&quot;https://api.github.com/users/octocat&quot;,&quot;html_url&quot;:&quot;https://github.com/octocat&quot;,&quot;followers_url&quot;:&quot;https://api.github.com/users/octocat/followers&quot;,&quot;following_url&quot;:&quot;https://api.github.com/users/octocat/following{/other_user}&quot;,&quot;gists_url&quot;:&quot;https://api.github.com/users/octocat/gists{/gist_id}&quot;,&quot;starred_url&quot;:&quot;https://api.github.com/users/octocat/starred{/owner}{/repo}&quot;,&quot;subscriptions_url&quot;:&quot;https://api.github.com/users/octocat/subscriptions&quot;,&quot;organizations_url&quot;:&quot;https://api.github.com/users/octocat/orgs&quot;,&quot;repos_url&quot;:&quot;https://api.github.com/users/octocat/repos&quot;,&quot;events_url&quot;:&quot;https://api.github.com/users/octocat/events{/privacy}&quot;,&quot;received_events_url&quot;:&quot;https://api.github.com/users/octocat/received_events&quot;,&quot;type&quot;:&quot;User&quot;,&quot;site_admin&quot;:false},&quot;body&quot;:&quot;Here is the body for the review.&quot;,&quot;state&quot;:&quot;DISMISSED&quot;,&quot;html_url&quot;:&quot;https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80&quot;,&quot;pull_request_url&quot;:&quot;https://api.github.com/repos/octocat/Hello-World/pulls/12&quot;,&quot;_links&quot;:{&quot;html&quot;:{&quot;href&quot;:&quot;https://github.com/octocat/Hello-World/pull/12#pullrequestreview-80&quot;},&quot;pull_request&quot;:{&quot;href&quot;:&quot;https://api.github.com/repos/octocat/Hello-World/pulls/12&quot;}},&quot;submitted_at&quot;:&quot;2019-11-17T17:43:43Z&quot;,&quot;commit_id&quot;:&quot;ecdd80bb57125d7ba9641ffaa4d7d2c19d3f3091&quot;,&quot;author_association&quot;:&quot;collaborator&quot;}