CloseConnection_微消息队列 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-cn-0pp12gl****参考取值来源:
    ListInstances
ClientIdstring

设备的 Client ID。

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

返回参数

字段名称字段详情
RequestIdstring

Id of the request

示例值:82B9E503-F4A1-4F30-976F-C6999FF9****
Codeinteger<int32>

接口返回码:200:表示成功。 其它:表示错误码。错误码详情,请参见错误码。

示例值:200
Messagestring

调用结果信息

示例值:operation success.
Successboolean

操作是否成功。true 表示成功,false 表示失败。

示例值:True

返回示例

错误码

全局错误码
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
PermissionCheckFailed
An error occurred while validating the resource permissions. Please check the account that created the instance, topic, and GroupId, and check their permission settings.诊断
404
ApiNotSupport
The specified API is not supported.诊断
500
InternalError
An error occurred while processing your request. Try again later.诊断

变更历史

暂无变更历史

相关示例