---
title: "Delete a repository ruleset"
method: DELETE
path: "/repos/{owner}/{repo}/rulesets/{ruleset_id}"
tags: ["repos"]
---

# Delete a repository ruleset

`DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}`

Delete a ruleset for a repository.

## Path parameters

- `owner` string, required
- `repo` string, required
- `ruleset_id` integer, required

## Response `204`

Response

## Other responses

- `404` — Resource not found
- `500` — Internal Error

---

[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)
