title: Use Github API to disable the merge button on a pull request and reenable it using REST
body: <p>I have developed my own web server that does automation on my android app. If there are issues when the automation runs, I want to programmatically disable the "merge" button on a github pull request using a cURL REST command. I cannot find out the proper way to do this but it seems that many people would benefit from this functionality. </p>
  
  <p>The api for github pull requests can be found here: <a href="https://developer.github.com/v3/pulls/">https://developer.github.com/v3/pulls/</a></p>
  
  <p>I know that this is possible because if you have merge conflicts on your branch, the button gets grayed out and you cannot click/merge it. That is the exact functionality I am looking for. Any help would be much appreciated.</p>