capabilities.work

Delete a repository protection rule

One step with Harness. We can help you get access.

Get something done

Delete a repository protection rule

with Harness
Works with AI assistants

Use Harness: its Harness Rules API lets you delete a repository protection rule in a single step (DELETE /code/api/v1/repos/{repo_identifier}/rules/{rule_identifier}). Harness also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • Can I remove a branch protection rule from just one repository?
  • What happens to a repo's protection once its rule is deleted?
Say it to your AI assistant
  • Delete protection rule {rule_identifier} from repo {repo_identifier}.
  • Remove the repo-level rule {rule_identifier} in {repo_identifier}.
For your developer

DELETE /code/api/v1/repos/{repo_identifier}/rules/{rule_identifier} in Harness Rules API. Full spec on APIs.io.