Skip to content

根据子设备PK、DK解除和网关关系

接口地址:/v2/devicemgr/r1/openapi/product/gateway/unbind

请求方式:POST

请求数据类型:application/json

响应数据类型:*/*

接口描述:

根据子设备pk dk解绑和网关的关联关系

请求参数:

参数名称参数说明请求类型是否必须数据类型schema
deviceKey设备deviceKeyquerytruestring
productKey产品productKeyquerytruestring

响应状态:

状态码说明schema
200OKActionResultOfobject
201Created
401Unauthorized
403Forbidden
404Not Found
50000service exception
50005param check error
50007The deviceID, productKey or deviceKey is empty.
70000Hub 服务不可用
70026The sub-device is not connected to the gateway device.
70089You have limited permission to operate this project or product or device.
91001token not exists
91004token incorrect
91005doesn't have permission

响应参数:

参数名称参数说明类型schema
code返回码object
data对象object
exp1string
msg提示信息object
pageNum当前页数object
pageSize每页数量object
pages总页数object
total总数object

响应示例:

javascript
{
	"code": {},
	"data": {},
	"exp1": "",
	"msg": {},
	"pageNum": {},
	"pageSize": {},
	"pages": {},
	"total": {}
}