thing.tag.delete

The thing.tag.delete command is used to remove one or more tags from a thing.

TR50 Request


{
  "cmd": {
    "command": "thing.tag.delete",
    "params": {
      "thingKey": "mything",
      "tags": ["tag1", "tag2"]
    }
  }
}
      

Request Parameters

Name

Type

Required

Description

thingKey

String or Array

 

Identifies the thing that the tags will be removed from. Defaults to the session's Thing.

tags

Array

Yes

The array of tags to be removed from the thing.

TR50 Response

If the command is sent successfully a success message is returned. Otherwise, an error and error message will be returned.


{
  "cmd": {
    "success": true
  }
}