---
title: "Changes to Set app access restrictions"
method: PUT
path: "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"
---

# Changes to Set app access restrictions

`PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps`

> Every recorded change to this operation, newest first.
> 736 revisions in range; 1 not diffed.

## Timeline

Changed in 9 of 736 revisions.

- **2025-05-30** `0bcc7a9d8f1f`: 3 warning
- **2025-01-17** `6f61a841203d`: 20 breaking, 4 warning
- **2024-10-21** `8a85f83b9e13`: 1 info
- **2024-04-26** `0db817b78623`: 1 breaking
- **2021-09-10** `f15a846b3fc0`: 1 breaking, 22 info
- **2021-06-23** `5e8bf156b96c`: 1 breaking, 2 info
- **2021-04-12** `e6b88ca77431`: 1 breaking
- **2021-04-07** `18ae0df38bd2`: 1 breaking, 1 warning, 1 info
- **2020-11-23** `542f3ee81847`: 2 breaking

## Changes

- **2025-05-30** `0bcc7a9d8f1f`: 3 warning
  - removed the optional property `items/client_secret` from the response with the `200` status
  - removed the optional property `items/pem` from the response with the `200` status
  - removed the optional property `items/webhook_secret` from the response with the `200` status
- **2025-01-17** `6f61a841203d`: 20 breaking, 4 warning
  - added `#/components/schemas/simple-user, #/components/schemas/enterprise` to the `items/owner` response property `oneOf` list for the response status `200`
  - the `items/owner` response's property type changed from `object` to no type for status `200`
  - removed the required property `items/owner/avatar_url` from the response with the `200` status
  - removed the required property `items/owner/events_url` from the response with the `200` status
  - removed the required property `items/owner/followers_url` from the response with the `200` status
  - removed the required property `items/owner/following_url` from the response with the `200` status
  - removed the required property `items/owner/gists_url` from the response with the `200` status
  - removed the required property `items/owner/gravatar_id` from the response with the `200` status
  - removed the required property `items/owner/html_url` from the response with the `200` status
  - removed the required property `items/owner/id` from the response with the `200` status
  - removed the required property `items/owner/login` from the response with the `200` status
  - removed the required property `items/owner/node_id` from the response with the `200` status
  - removed the required property `items/owner/organizations_url` from the response with the `200` status
  - removed the required property `items/owner/received_events_url` from the response with the `200` status
  - removed the required property `items/owner/repos_url` from the response with the `200` status
  - removed the required property `items/owner/site_admin` from the response with the `200` status
  - removed the required property `items/owner/starred_url` from the response with the `200` status
  - removed the required property `items/owner/subscriptions_url` from the response with the `200` status
  - removed the required property `items/owner/type` from the response with the `200` status
  - removed the required property `items/owner/url` from the response with the `200` status
  - removed the optional property `items/owner/email` from the response with the `200` status
  - removed the optional property `items/owner/name` from the response with the `200` status
  - removed the optional property `items/owner/starred_at` from the response with the `200` status
  - removed the optional property `items/owner/user_view_type` from the response with the `200` status
- **2024-10-21** `8a85f83b9e13`: 1 info
  - added the optional property `items/owner/user_view_type` to the response with the `200` status
- **2024-04-26** `0db817b78623`: 1 breaking
  - the response property `items/` became nullable for the status `200`
- **2021-09-10** `f15a846b3fc0`: 1 breaking, 22 info
  - the `items/owner` response's property type changed from no type to `object` for status `200`
  - added the optional property `items/owner/email` to the response with the `200` status
  - added the optional property `items/owner/name` to the response with the `200` status
  - added the optional property `items/owner/starred_at` to the response with the `200` status
  - removed `#/components/schemas/simple-user` from the `items/owner` response property `allOf` list for the response status `200`
  - added the required property `items/owner/avatar_url` to the response with the `200` status
  - added the required property `items/owner/events_url` to the response with the `200` status
  - added the required property `items/owner/followers_url` to the response with the `200` status
  - added the required property `items/owner/following_url` to the response with the `200` status
  - added the required property `items/owner/gists_url` to the response with the `200` status
  - added the required property `items/owner/gravatar_id` to the response with the `200` status
  - added the required property `items/owner/html_url` to the response with the `200` status
  - added the required property `items/owner/id` to the response with the `200` status
  - added the required property `items/owner/login` to the response with the `200` status
  - added the required property `items/owner/node_id` to the response with the `200` status
  - added the required property `items/owner/organizations_url` to the response with the `200` status
  - added the required property `items/owner/received_events_url` to the response with the `200` status
  - added the required property `items/owner/repos_url` to the response with the `200` status
  - added the required property `items/owner/site_admin` to the response with the `200` status
  - added the required property `items/owner/starred_url` to the response with the `200` status
  - added the required property `items/owner/subscriptions_url` to the response with the `200` status
  - added the required property `items/owner/type` to the response with the `200` status
  - added the required property `items/owner/url` to the response with the `200` status
- **2021-06-23** `5e8bf156b96c`: 1 breaking, 2 info
  - the response property `items/` became nullable for the status `200`
  - added the optional property `items/owner/allOf[subschema #1: Simple User]/email` to the response with the `200` status
  - added the optional property `items/owner/allOf[subschema #1: Simple User]/name` to the response with the `200` status
- **2021-04-12** `e6b88ca77431`: 1 breaking
  - the response property `items/webhook_secret` became nullable for the status `200`
- **2021-04-07** `18ae0df38bd2`: 1 breaking, 1 warning, 1 info
  - the request's body type changed from `object` to no type
  - removed the request property `apps`
  - added `subschema #1, subschema #2` to the request body `oneOf` list
- **2020-11-23** `542f3ee81847`: 2 breaking
  - added the new required request property `apps`
  - the request's body type changed from `array` to `object`

---

[Operation](https://skmtc.dev/github/apis/rest/docs/repos/:owner/:repo/branches/:branch/protection/restrictions/apps/put.md) - [API](https://skmtc.dev/github/apis/rest.md) - [Page](https://skmtc.dev/github/apis/rest/changes/repos/:owner/:repo/branches/:branch/protection/restrictions/apps/put)
