Modify Monitor Name

Last Updated on : 2023-06-21 07:13:06download

Modify the name of a specified monitor based on the monitor ID.

API address

PUT: /v1.0/iot-03/statistical-indicators/monitors/{monitor_id}

Request parameter

Parameter name Type IN Required Description
monitor_id String uri true The monitor ID.

Return parameter

Parameter name Type Description
result Boolean The returned result.

Request example

PUT: PUT:/v1.0/iot-03/statistical-indicators/monitors/p3m003
{ "name": "p3m003" }

Return example

{ "result": true, "t": 1624525873263, "success": true }

Error code

For more information, see error code.