Replace the repos that see an org variable
One step with GitHub. We can help you get access.
Get something done
Replace the repos that see an org variable
Use GitHub: its GitHub v3 REST Agents API lets you replace the repos that see an org variable in a single step (PUT /orgs/{org}/agents/variables/{name}/repositories). capabilities.work can help you get signed up and connected.
- Can I overwrite which selected repositories can read an organization agent variable?
- What happens to the repos already listed when I replace them on an org variable?
Say it to your AI assistant
- Set selected repos {selected_repository_ids} as the only ones that can access {name} in {org}.
- Replace the repository list on organization variable {name} in {org} with {selected_repository_ids}.
For your developer
PUT /orgs/{org}/agents/variables/{name}/repositories in GitHub v3 REST Agents API. Full spec on APIs.io.