Skip to content

接口描述

设置密码

请求路径

POST /v1/platform/migrate/passwdedit

请求参数

名称类型位置必须描述
Authorizationstringheader鉴权 token
nodeIDstringbody节点 ID
userNamestringbody用户名(一般为root)
passwordstringbody密码

返回值

成功:nil

请求示例

json
{
   "nodeID": "006667a59a57e29666c3b0a166fcf666",
   "userName": "root",
   "password": "123"
}

错误码列表

错误码描述
401鉴权失败

如接口返回错误码未列举,可在错误码总览中查找