DELETE
/orgs/{org}/rulesets/{ruleset_id}Delete an organization repository ruleset
Deletes an organization repository ruleset. Provide the organization name and the integer ruleset_id identifying the ruleset to remove. A successful response contains no response body.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
orgstringrequired
The organization name. Matching is not case-sensitive.
ruleset_idintegerrequired
The integer identifier of the ruleset to delete.
204Returns no content after the organization repository ruleset is deleted.
404Returned when the organization or ruleset identified by `ruleset_id` cannot be found.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
500Returned when an internal error occurs.
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
Error handling
A 404 is returned when the organization or ruleset identified by ruleset_id cannot be found. A 500 indicates an internal error; ruleset_id must be an integer that identifies the intended ruleset.