更新时间:2022-08-06 GMT+08:00
修改密码
功能介绍
修改缓存实例的密码。
请求消息
请求参数
参数说明见表2。
请求示例
- 请求URL:
PUT https://{dcs_endpoint}/v1.0/{project_id}/instances/{instance_id}/password
- 示例:
{ "old_password": "XXXXXX", "new_password": "XXXXXX" }
响应消息
响应参数
参数说明见表3。
响应示例
//Change password success. { "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" }
父主题: 实例管理