---
title: "takeover a cluster"
method: POST
path: "/clusters/takeover"
tags: ["cluster"]
---

# takeover a cluster

`POST /clusters/takeover`

takeover a cluster

## Request body

- ClusterTakeoverClusterReq
  - `TiUPIp` string, required
  - `TiUPPath` string, required
  - `TiUPPort` integer, required
  - `TiUPUserName` string, required
  - `TiUPUserPassword` string, required
  - `clusterName` string, required
  - `dbPassword` string, required

## Response `200`

OK

- object
  - `code` integer
  - `data` object
    - `clusterId` string
    - `workFlowId` string — Asynchronous task workflow ID
  - `message` string

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

---

[API](https://skmtc.net/pingcap/apis/em-ui-api.md) · [All operations](https://skmtc.net/pingcap/apis/em-ui-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pingcap/em-ui-api/versions/631e4b26b7e8/schema)
