capabilities.work

Update a policy's name or Rego

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

Get something done

Update a policy's name or Rego

with Harness
Works with AI assistants

Use Harness: its Harness Policies API lets you update a policy's name or Rego in a single step (PATCH /pm/api/v1/policies/{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 Rego of an existing policy?
  • Can I rename a policy and commit the change to Git at the same time?
Say it to your AI assistant
  • Replace the Rego of policy {identifier} with: {rego}
  • Rename policy {identifier} to {name} with commit message {message}.
For your developer

PATCH /pm/api/v1/policies/{identifier} in Harness Policies API. Full spec on APIs.io.