repos
Update an enterprise repository ruleset
Changed onUpdate 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).
put/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.
Request body
Response
Response
Changes
- breaking
added to the
/response propertyoneOflist for the response status
- breaking
- info
added the new optional request property
//// - info
added the optional property
////to the response with the status
- info