Skip to content

功能概述 ​

删除硬件设备接口

  • 删除硬件设备接口

接口访问 ​

接口地址 ​

system/manage/device/delete

请求方式 Method ​

DELETE

Header - Authorization Type : Bearer Token ​

属性类型长度必填默认值说明访问版本
tokenstring32true用户身份标识令牌-

请求参数 ​

属性类型长度必填默认值说明
hardwareIDint64true0设备ID
hardwareTypeint64true0设备类型,1-门锁 2-电表 3-水表

请求示例 ​

{
    "hardwareID":2,
    "hardwareType":3
}

返回值 ​

属性类型必填描述
responseobjecttrue响应内容
response.Codestringtrue响应码(例如:"200")
response.Messagestringtrue响应信息(例如:"Success")
requestIdstringtrue请求唯一 ID(用于排查问题)

返回示例 ​

{
    "response": {
        "Code": "200",
        "Message": "Success"
    },
    "requestId": "33dc0d6f-fc7a-4ac9-b6fc-3c3aabbacbc4"
}

错误码 ​

错误码说明解决方案
92001硬件设备类型错误检查传入参数
92002硬件ID不能为空检查传入参数
404Fail代码报错