Add new label

Last Updated on : 2023-06-21 07:12:59download

Create a label with a custom label Code and name.

API address

POST: /v1.0/iot-03/tags

Request parameter

Parameter nameTypeINRequiredDescription

Return parameter

Parameter nameTypeDescription
resultBooleanAdd result

Request example

POST: /v1.0/iot-03/tags
{
  "code": "1***",
  "name": "There are windows"
}

Return example

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

Error code

For more information, see error code.