v69

OpenAPI 3.0.3MITraw.githubusercontent.com2026-08-051,22096912.3 MB
interactions

Update pull request creation cap for an org

Updates the pull request creation cap for an organization. The cap limits the total number of open pull requests a user can have across all public repositories in the organization at one time.

Only users with admin access to the organization can configure the cap.

patch/orgs/{org}/interaction-limits/pulls/creation-cap

Path parameters

orgstring required

The organization name. The name is not case sensitive.

Request body

enabledboolean required

Whether the pull request creation cap is enabled

max_open_pull_requestsinteger

The maximum number of open pull requests a user can have at one time

Response

Response

enabledboolean required

Whether the pull request creation cap is enabled

max_open_pull_requestsinteger required

The maximum number of open pull requests a user can have at one time