---
title: "Check if immutable releases are enabled for a repository"
method: GET
path: "/repos/{owner}/{repo}/immutable-releases"
tags: ["repos"]
---

# Check if immutable releases are enabled for a repository

`GET /repos/{owner}/{repo}/immutable-releases`

Shows whether immutable releases are enabled or disabled. Also identifies whether immutability is being
enforced by the repository owner.  The authenticated user must have admin read access to the repository.

## Path parameters

- `owner` string, required
- `repo` string, required

## Response `200`

Response if immutable releases are enabled

- CheckImmutableReleases — Check immutable releases
  - `enabled` boolean, required — Whether immutable releases are enabled for the repository.
  - `enforced_by_owner` boolean, required — Whether immutable releases are enforced by the repository owner.

## Other responses

- `404` — Not Found if immutable releases are not enabled for the repository

---

[API](https://skmtc.net/github/apis/github-v3-rest-api.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api/versions/a367f7028301/schema)
