---
title: "POST /docs-projects/update-repo-settings"
method: POST
path: "/docs-projects/update-repo-settings"
---

# POST /docs-projects/update-repo-settings

`POST /docs-projects/update-repo-settings`

Update editable repository settings (tracked branch, config path) on a unified DocsProject. Publish flags live in scalar.config.json.

## Request body

- object
  - `projectUid` string, required
  - `branch` string
  - `configPath` string

## Response `200`

Default Response

- unknown

## Other responses

- `400` — Bad request
- `401` — No auth
- `403` — Forbidden
- `404` — Not found
- `422` — Invalid payload
- `500` — Uncaught error

---

[API](https://skmtc.net/scalar/apis/core.md) · [All operations](https://skmtc.net/scalar/apis/core/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/scalar/core/revisions/8dff1e93bc68/schema)
