provider repos DELETE /orgs/{org}/rulesets/{ruleset_id}
@utdk/github /orgs/{org}/rulesets/{ruleset_id}
Delete an organization repository ruleset
Delete a ruleset for an organization.
org path required
The organization name. The name is not case sensitive.
string
ruleset_id path required
The ID of the ruleset.
integer

Try it

Authentication
Configure credentials for GitHub v3 REST API
repos.deleteOrgRuleset
DELETE/orgs/{org}/rulesets/{ruleset_id}
Delete a ruleset for an organization.

Parameters

required

The organization name. The name is not case sensitive.

required

The ID of the ruleset.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import github from '@utdk/github';

await github.repos.deleteOrgRuleset()