Update a repository configuration on an agent
One step with Harness. We can help you get access.
Get something done
Update a repository configuration on an agent
with Harness
Works with AI assistants
Use Harness: its Harness Repositories API lets you update a repository configuration on an agent in a single step (PUT /gitops/api/v1/agents/{agentIdentifier}/repositories/{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 settings of a repo already registered on a GitOps agent?
- Can I change the refresh interval of an existing agent repository?
Say it to your AI assistant
- Update repository {identifier} on agent {agentIdentifier} with new config {repo}.
- Set the refresh interval of repo {identifier} on agent {agentIdentifier} to {refreshInterval}.
For your developer
PUT /gitops/api/v1/agents/{agentIdentifier}/repositories/{identifier} in Harness Repositories API. Full spec on APIs.io.