更新时间:2023-11-28 GMT+08:00
修改密码
功能介绍
修改缓存实例的密码。
请求消息
请求参数
参数说明见表2。
请求示例
PUT https://{dcs_endpoint}/v1.0/{project_id}/instances/{instance_id}/password
{ "old_password": "XXXXXX", "new_password": "XXXXXX" }
响应消息
响应参数
参数说明见表3。
响应示例
//Change password sucessful. { "result" : "success", "message" : "Modify DCSInstance password success.", "retry_times_left" : "5", "lock_time" : "0", "lock_time_left" : "0" } //Change password failed. { "result" : "passwordFailed", "message" : "verify password failed.", "retry_times_left" : "4", "lock_time" : "5", "lock_time_left" : "5" }