重置默认 TIUP
接口URL
/api/v1/resource/tiup/reset
请求方式
GET
Content-Type
json
认证方式
noauth
请求Header参数
参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
---|---|---|---|---|
Accept | application/json | String | 是 | - |
Content-Type | application/json | String | 是 | - |
成功响应示例
{
"Data": {
"PlatformID": "tiup-c7b141b9",
"PlatformAlias": "ecs",
"PlatformType": "remote",
"TiUPHome": "/root/.tiup",
"IP": "10.2.15.199",
"IsDef": 1,
"Port": 22,
"User": "root",
"KeyFile": "/home/tidb/.ssh/id_rsa.pub",
"PriKeyFile": "/home/tidb/.ssh/id_rsa"
},
"Success": true
}
参数名 | 示例值 | 参数类型 | 参数描述 |
---|---|---|---|
Data | - | Object | - |
Data.PlatformID | tiup-c7b141b9 | String | - |
Data.PlatformAlias | ecs | String | - |
Data.PlatformType | remote | String | - |
Data.TiUPHome | /root/.tiup | String | - |
Data.IP | 10.2.15.199 | String | - |
Data.IsDef | 1 | Integer | - |
Data.Port | 22 | Integer | - |
Data.User | root | String | - |
Data.KeyFile | /home/tidb/.ssh/id_rsa.pub | String | - |
Data.PriKeyFile | /home/tidb/.ssh/id_rsa | String | - |
Success | true | Boolean | - |