Delete Attribute


The Delete Attribute node deletes the specified attributes or all attributes of the asset.

Node Type

EnOS.

Input and Output Ability

This node has multiple entry points and 2 exit points (success/failure).

Node Properties

../../../_images/delete_attribute.png


Name

The name for this node.


Description

The description for this node.

Samples

Input Sample

{
  "MetaData": {
    "messageType": "DeleteAttribute",
    "assetId": "assetId",
    "deviceKey": "deviceKey",
    "productKey": "productKey",
    "orgId": "yourOrgId",
    "ts": "1654513135156"
  },
  "Body": {
    "attributes": [
      "attr_string"
    ]
  }
}

Output Sample

{
  "MetaData": {
    "messageType": "DeleteAttribute",
    "assetId": "assetId",
    "deviceKey": "deviceKey",
    "productKey": "productKey",
    "orgId": "yourOrgId",
    "componentResult": "Success",
    "ts": "1654513135156"
  },
  "Body": {
    "attributes": [
      "attr_string"
    ]
  }
}