Skip to content

Delete an organization repository ruleset

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

Delete a ruleset for an organization.

API method documentation

org
required
string

The organization name. The name is not case sensitive.

ruleset_id
required
integer

The ID of the ruleset.

Response

Resource not found

Media type application/json
Basic Error

Basic Error

object
message
string
documentation_url
string
url
string
status
string
Example generated
{
"message": "example",
"documentation_url": "example",
"url": "example",
"status": "example"
}

Internal Error

Media type application/json
Basic Error

Basic Error

object
message
string
documentation_url
string
url
string
status
string
Example generated
{
"message": "example",
"documentation_url": "example",
"url": "example",
"status": "example"
}