---
title: "Enable immutable releases"
method: PUT
path: "/repos/{owner}/{repo}/immutable-releases"
tags: ["repos"]
---

# Enable immutable releases

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

Enables immutable releases for a repository. The authenticated user must have admin access to the repository.

## Path parameters

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

## Response `204`

A header with no content is returned.

## Other responses

- `409` — Conflict

---

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