Delete Tags


Upstream

  • Request TOPIC /sys/{productKey}/{deviceName}/thing/tag/delete
  • Reply TOPIC /sys/{productKey}/{deviceName}/thing/tag/delete_reply

Sample Request Format

{
  "id": "123",
  "version": "1.0",
  "params": {
    "tags": ["tag1", "tag2"]
  },
  "method": "thing.tag.delete"
}

Sample Response Format

{
  "id": "123",
  "code": 200,
  "data": {}
}

Request Parameter Description

Parameter Type Occurrence Description
id String Optional The message ID. It is a reserved parameter that is reserved for future use.
version String Mandatory The version of the protocol. The current version is 1.0.
params List Mandatory The parameters used for deleting tags.
tags Array Mandatory The list of unique tag IDs. When not specified, no tag is deleted.
method String Mandatory The method of the request.

Response Parameter Description

Parameter Type Mandatory/Optional Description
code Integer Mandatory The return code. “200” indicates that the requested operation is executed successfully.
data JSON Optional The detailed returned information in JSON format.