物接入IoT Hub

    禁用一条规则

    方法 API 说明
    PUT /v3/iot/rules/device/{deviceName}?disable 禁用一条规则

    请求示例

    PUT /v3/iot/rules/device/myDeviceName?disable HTTP/1.1
    Host: iotdm.gz.baidubce.com
    Authorization:{authorization}
    Content-Type: application/json; charset=utf-8

    返回示例

    HTTP/1.1 200 OK
    Content-Type: application/json; charset=utf-8
    x-bce-request-id: 993ff7e9-018b-4246-a7ba-5dddac970054
    上一篇
    删除规则
    下一篇
    启用一条规则