apicheats.dev Cheat sheet Raw .md
PATCH

Try PATCH /orgs/{org}/interaction-limits/pulls/creation-cap — GitHub API

GitHub playground

Update pull request creation cap for an org

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Path

Body application/json

3 body fields
  • enabled · required · boolean — Whether the pull request creation cap is enabled
  • max_open_pull_requests · optional · integer — The maximum number of open pull requests a user can have at one time
  • include_drafts · optional · boolean — Whether draft pull requests count toward the pull request creation cap