---
title: "Update pull request creation cap for an org"
method: PATCH
path: "/orgs/{org}/interaction-limits/pulls/creation-cap"
tags: ["interactions"]
---

# Update pull request creation cap for an org

`PATCH /orgs/{org}/interaction-limits/pulls/creation-cap`

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.

## Path parameters

- `org` string, required

## Request body

- object
  - `enabled` boolean, required — Whether the pull request creation cap is enabled
  - `max_open_pull_requests` integer — The maximum number of open pull requests a user can have at one time

## Response `200`

Response

- object
  - `enabled` boolean, required — Whether the pull request creation cap is enabled
  - `max_open_pull_requests` integer, required — The maximum number of open pull requests a user can have at one time

## Other responses

- `403` — Forbidden
- `404` — Resource not found
- `405` — Method Not Allowed
- `422` — Validation failed, or the endpoint has been spammed.

## Changes

> 62 revisions in range; 3 could not be searched.

- **2026-08-04** `fe918b04694a` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/github/apis/enterprise-cloud/changes/orgs/:org/interaction-limits/pulls/creation-cap/patch.md)

---

[API](https://skmtc.dev/github/apis/enterprise-cloud.md) · [All operations](https://skmtc.dev/github/apis/enterprise-cloud/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/github/enterprise-cloud/revisions/6020c72ba337/schema)
