repos

Delete an enterprise repository ruleset

Delete a ruleset for an enterprise.

[!NOTE] The "Enterprise administration" fine-grained permission is not available to callers. To use this API, you must use an OAuth app token or a personal access token (classic).

delete/enterprises/{enterprise}/rulesets/{ruleset_id}

Request

  • Base URL: https://api.github.com
  • URL: https://api.github.com/enterprises/{enterprise}/rulesets/{ruleset_id}
  • Auth: none declared

Path parameters

enterprisestring required

The slug version of the enterprise name.

ruleset_idinteger required

The ID of the ruleset.

Response

Response

Changes

No recorded changes to this operation across all 83 revisions of this API.