system.kanoa.asset.unlinkAssetMode
Description
Unlinks a mode from an asset. Checks to see if this mode/asset combo has been stored in the modeEvent table and disables it if it has, otherwise deletes it (kanoaOPS).Syntax
unlinkAssetMode(modeAssetLinkId)- modeAssetLinkId (int) - The ID of the modeAssetLink
- result (string) - 'Deleted' or 'Disabled'
Code Examples
# Example Usage:
result = system.kanoa.asset.unlinkAssetMode(123)
print(f"Result: {result}")