DeleteAsset deletes a previously configured industrial asset. It takes the NodeId of a WoTAsset Object as input. These NodeIds can be browsed from the WoTAssetConnectionManagement instance.
Signature
DeleteAsset(
[in] 0:NodeId AssetId);
Table 8 – DeleteAsset Method Arguments
|
Argument |
Description |
|
AssetId |
The NodeId of the WoTAsset Object. |
Method Result Codes
|
Result Code Symbolic Id |
Description |
|
Bad_NotFound |
The asset was not found. |
|
Bad_InvalidArgument |
The NodeId provided was invalid. |
|
Bad_UserAccessDenied |
The session (including the user) does not have the permissions required. |