功能介绍:重置Redis指定账号的密码,只有集群版适用
POST https://[endpoint].ctapi.ctyun.cn/v1/userMgr/resetAccountPassword
Content-Type:application/json
请求体参数说明:
参数名 | 示例值 | 参数类型 | 是否必填 | 参数描述 |
prodInstId | 865194359228728320 | String | 是 | 实例ID |
accountName | test_name2 | String | 是 | 账户名称 |
accountPassword | Cache@1369 | String | 是 | 新密码。长度为8~32位,需包含大写字母、小写字母、特殊字符和数字中的至少三种,不能含有#和空格。 |
返回参数说明:
参数名 | 示例值 | 参数类型 | 参数描述 |
code | core.ok | String | 响应码描述 |
message | success | String | 响应信息 |
statusCode | 800 | int | 响应状态码 |
请求示例:
POST https://dcs2-global.ctapi.ctyun.cn/v1/userMgr/resetAccountPassword
{ "prodInstId": "873780530431132672", "accountName": "test_name2", "accountPassword": "Cache@1369" } |
返回示例:
{ "code": "core.ok", "message": "success", "statusCode": 800 } |