UpdateCustomAuthIdentity_微消息队列 MQTT_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

流控信息

请求速率为500/1(s)。

授权信息

当前云产品暂无权限信息透出。

请求参数

字段名称字段详情
InstanceIdstring

云消息队列 MQTT 版实例的 ID。

示例值:post-111****参考取值来源:
    ListInstances
Usernamestring

用户名。

示例值:test
Secretstring

密钥。

示例值:xxxx
IdentityTypestring

身份类型。展开详情

示例值:USER枚举值:USERCLIENT参考取值来源:
    QueryCustomAuthIdentity
    AddCustomAuthIdentity
ClientIdstring

当身份类型是 CLIENT 时,指定设备的 ClientID。

示例值:GID_test@@@test参考取值来源:
    ListDeviceCredentialClientId
SignModestring

签名校验方式,ORIGIN:原始值比较,即比较 password 与 secret,SIGNED: 对 clientId 进行 HmacSHA1 加签(使用 secret,参考签名模式)验证,然后比较 password。

示例值:SIGNED枚举值:ORIGINSIGNED

返回参数

字段名称字段详情
RequestIdstring

Id of the request

示例值:3F00084A-7F07-4B15-BADA-8903A4FB****
Codeinteger<int32>

返回结果编码。

示例值:200
Successboolean

操作是否成功。取值:true:成功。false:失败。

示例值:True
Messagestring

返回消息。

示例值:operation success.

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
InstancePermissionCheckFailed
An error occurred while validating the permissions of the instance. Please verify the account that created the instance and its permissions settings.诊断
400
InvalidParameter.%s
An error occurred while validating the parameter. The parameter may be missing or invalid.诊断
404
ApiNotSupport
The specified API is not supported.诊断

变更历史

暂无变更历史

相关示例