調(diào)用ResetUserPassword重置指定實(shí)例下指定坐席的登錄密碼。實(shí)際上坐席并沒(méi)有登錄密碼,修改的是坐席關(guān)聯(lián)的RAM賬戶的登錄密碼,通常用于客服忘記自己的RAM賬戶登錄密碼的場(chǎng)景。
調(diào)試
您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計(jì)算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動(dòng)生成SDK代碼示例。
授權(quán)信息
當(dāng)前API暫無(wú)授權(quán)信息透出。
請(qǐng)求參數(shù)
名稱 | 類型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
InstanceId | string | 是 | 實(shí)例 ID。 | ccc-test |
UserId | string | 是 | 坐席 ID。 | agent@ccc-test |
Password | string | 是 | 新的密碼。 | password |
返回參數(shù)
示例
正常返回示例
JSON
格式
{
"Code": "OK",
"HttpStatusCode": 200,
"Message": "無(wú)",
"RequestId": "BA03159C-E808-4FF1-B27E-A61B6E888D7F"
}
錯(cuò)誤碼
HTTP status code | 錯(cuò)誤碼 | 錯(cuò)誤信息 | 描述 |
---|---|---|---|
400 | Parameter.Blank | The parameter %s may not be null or blank. | 該參數(shù)不能為null或含有空白符的字符串。 |
403 | Permission.Role | You have no permission to access role %s. | 您無(wú)權(quán)訪問(wèn)指定角色。 |
404 | NotExists.InstanceId | The specified instance %s does not exist. | 指定的呼叫中心實(shí)例不存在。 |
404 | NotExists.UserId | The user %s does not exist in instance %s. | 呼叫中心實(shí)例中不存在指定的用戶。 |
500 | InternalService.Common | An internal service error occurred. %s | 內(nèi)部服務(wù)錯(cuò)誤。 |
500 | InternalService.RAM | An internal RAM service error occurred. %s | 內(nèi)部RAM服務(wù)錯(cuò)誤。 |
500 | InternalService.STS | An internal STS service error occurred. %s | 內(nèi)部STS服務(wù)錯(cuò)誤。 |
訪問(wèn)錯(cuò)誤中心查看更多錯(cuò)誤碼。
變更歷史
變更時(shí)間 | 變更內(nèi)容概要 | 操作 |
---|
暫無(wú)變更歷史