cluster

takeover a cluster

takeover a cluster

post/clusters/takeover

Request

  • Base URL
    https://localhost:4100/api/v1
  • URL
    https://localhost:4100/api/v1/clusters/takeover
  • Auth
    API key in header Authorization

Request body

TiUPIpstring required
TiUPPathstring required
TiUPPortinteger required
TiUPUserNamestring required
TiUPUserPasswordstring required
clusterNamestring required
dbPasswordstring required

Example request

{
  "TiUPIp": "172.16.4.147",
  "TiUPPath": ".tiup/",
  "TiUPPort": 22,
  "TiUPUserName": "root",
  "TiUPUserPassword": "password",
  "clusterName": "myClusterName",
  "dbPassword": "myPassword"
}

Response

OK

codeinteger
messagestring

Changes

No recorded changes to this operation across all 50 revisions of this API.