repos
Update a repository ruleset
Changed onUpdate a ruleset for a repository.
put/repos/{owner}/{repo}/rulesets/{ruleset_id}
Request
- Base URL: https://api.github.com
- URL: https://api.github.com/repos/{owner}/{repo}/rulesets/{ruleset_id}
- Auth: none declared
Path parameters
ownerstring required
The account owner of the repository. The name is not case sensitive.
repostring required
The name of the repository without the .git extension. The name is not case sensitive.
ruleset_idinteger required
The ID of the ruleset.
Request body
Response
Response
Changes
- breaking
added to the
/response propertyoneOflist for the response status - info
added to the
/request propertyoneOflist
- breaking