---
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/rest-api.md) · [All operations](https://skmtc.net/github/apis/rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/rest-api/versions/80850db290cd/schema)
