---
title: "Delete an enterprise repository ruleset"
method: DELETE
path: "/enterprises/{enterprise}/rulesets/{ruleset_id}"
tags: ["repos"]
---

# Delete an enterprise repository ruleset

`DELETE /enterprises/{enterprise}/rulesets/{ruleset_id}`

Delete a ruleset for an enterprise.

## Path parameters

- `enterprise` string, required
- `ruleset_id` integer, required

## Response `204`

Response

## Other responses

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

---

[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/versions/dc0584ac4e13/schema)
