DeleteAsset deletes a previously configured industrial asset. It takes the NodeId of a WoTAsset Object input, previously returned by CreateAsset. These NodeIds can also 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 does not have the permissions required. |