设备接入 IOTDA-修改规则触发条件:请求示例

时间:2024-06-28 09:24:56

请求示例

修改指定规则触发条件,指定条件为产品为d89c-44dd-8265-b1653d951ce0。

PUT https://{endpoint}/v5/iot/{project_id}/routing-rule/rules/{rule_id}

{
  "rule_name" : "rulename",
  "description" : "description",
  "select" : "*",
  "where" : "product_id='d89c-44dd-8265-b1653d951ce0'",
  "active" : true
}
support.huaweicloud.com/api-iothub/iot_06_v5_01309.html