Remove Action Properties

The Remove action supports the following arguments, submitted with the args parameter (described in the Properties table for Device Do Action):

Argument

Type

Description

name

string

(Required) This matches the BLOCKTYPE value in the block’s topic. See Interface Topics in Interface Blocks.

name as with the add action. The remove action removes all blocks under this name: removing a block which was added as a single block will remove that single block. Removing a block which was added as a block array of 5 blocks removes all five blocks

implementation

Object           

(Optional) Selects the member to remove from a block.  Removing a block removes all its members. Only optional members may be removed from blocks that implement a profile.

Example:

{
     implementation: “nciSetpoint”
}

For examples on the removing a block or removing members from a block, see Dynamic Interfaces.