---
title: "Replace an instance in the instance partitions"
method: POST
path: "/tables/{tableName}/replaceInstance"
tags: ["Table"]
---

# Replace an instance in the instance partitions

`POST /tables/{tableName}/replaceInstance`

## Path parameters

- `tableName` string, required

## Query parameters

- `type` string
- `oldInstanceId` string, required
- `newInstanceId` string, required

## Response `200`

successful operation

- object

---

[API](https://skmtc.net/startree/apis/pinot-controller-api.md) · [All operations](https://skmtc.net/startree/apis/pinot-controller-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/startree/pinot-controller-api/revisions/f1cc8a0ba2e0/schema)
