---
title: "Move reviews to another repository and delete the source"
method: POST
path: "/api/repos/merge"
tags: ["repos"]
---

# Move reviews to another repository and delete the source

`POST /api/repos/merge`

## Request

- The document declares no server URL.
- Auth: none declared

## Request body

- MergeReposInputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `source_id` integer, required
  - `target_id` integer, required

## Response `200`

OK

- MergeReposOutputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `moved` integer, required

## Other responses

- `default`: Error

## Changes

- **2026-10-02** `f4a08e7ffd79`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/kenn-io/apis/roborev/changes/api/repos/merge/post.md)

---

[API](https://skmtc.dev/kenn-io/apis/roborev.md) - [All operations](https://skmtc.dev/kenn-io/apis/roborev/llms.txt) - [OpenAPI document](https://skmtc.dev/kenn-io/apis/roborev/revisions/5803a85073e3?raw)
