DELETE/orgs/{org}/rulesets/{ruleset_id}

Delete an organization repository ruleset

Deletes a ruleset from an organization. Use the org and ruleset_id path parameters to identify the organization ruleset to remove. A 204 response confirms deletion and has no response body.

2 parameters
orgstringrequired
The organization name. The name is not case sensitive.
ruleset_idintegerrequired
The unique identifier of the ruleset to delete.

3 status codes
204Returns no response body; confirms that the organization ruleset was deleted.
404Returned when the organization or ruleset 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 org path parameter or ruleset_id path parameter does not identify an available organization ruleset. A 500 is returned when an internal error occurs.