---
title: "Set Bot Repo Config"
method: PATCH
path: "/github-app/bot-repos/{repo_id}/config"
tags: ["github-app"]
---

# Set Bot Repo Config

`PATCH /github-app/bot-repos/{repo_id}/config`

Merge a per-repo PR-bot config patch into ``repos.bot_config``.

These presentation controls (comment mode, per-section visibility, the
score-drop threshold, ignored paths) are the dashboard counterpart to
``.repowise/bot.yaml`` and win over it -- the bot overlays them on top of
the in-repo YAML at analysis time. The master on/off switch stays on the
dedicated ``/enabled`` route. Only the keys present in the payload are
changed, so the UI can send partial updates.

## Path parameters

- `repo_id` string, required

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/repowise/apis/repowise-hosted-api.md) · [All operations](https://skmtc.dev/repowise/apis/repowise-hosted-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/repowise/repowise-hosted-api/revisions/1e57283a9737/schema)
