thing.attr.unset

The thing.attr.unset command removes an attribute value from a thing.

TR50 Request


{
  "cmd": {
    "command": "thing.attr.unset",
    "params": {
      "thingKey": "mything",
      "key": "boardid"
    }
  }
}
      

Request Parameters

Name

Type

Required

Description

thingId

String

 Yes

Identifies the thing by id to which the attribute is to be associated.

Note:

If a thing identifier is not provided, the thingKey associated with your session will be used.

thingKey

String

 

Identifies the thing by key to which the attribute is to be associated.

esn

String

 

ESN of the thing.

iccid

String

 

ICCID of the thing.

imei

String

 

IMEI of the thing.

imsi

String

 

IMSI of the thing.

meid

String

 

MEID of the thing.

key

String

Yes

The key for the attribute that you want to unset.

corrId

String

A correlation ID that can be used when querying to find related data objects.

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
  }
}