---
title: "Changes to Get access restrictions"
method: GET
path: "/repos/{owner}/{repo}/branches/{branch}/protection/restrictions"
---

# Changes to Get access restrictions

`GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 122 revisions.

- **2023-04-12** (3.8) `8f2dc7c3ddf4`: 1 warning
- **2023-04-07** (3.8) `e5adc4e88451`: 1 info

## Changes

- **2023-04-12** (3.8) `8f2dc7c3ddf4`: 1 warning
  - removed the optional property `teams/items/notification_setting` from the response with the `200` status
- **2023-04-07** (3.8) `e5adc4e88451`: 1 info
  - added the optional property `teams/items/notification_setting` to the response with the `200` status

---

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