capabilities.work

Update an account, org or project protection rule

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

Get something done

Update an account, org or project protection rule

with Harness
Works with AI assistants

Use Harness: its Harness Rules API lets you update an account, org or project protection rule in a single step (PATCH /code/api/v1/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.

  • How do I change the repos targeted by a project-wide protection rule?
  • Can I switch an org-level rule to monitor-only state?
Say it to your AI assistant
  • Set org or project level rule {rule_identifier} to state {state}.
  • Update account-wide rule {rule_identifier} to target repos {repo_target}.
For your developer

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